Share via


IServiceProxyAdministration.CreateProxy method

Creates an instance of the specified service application proxy type.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

SPServiceApplicationProxy CreateProxy(
    Type serviceApplicationProxyType,
    string name,
    Uri serviceApplicationUri,
    SPServiceProvisioningContext provisioningContext
)

Parameters

  • serviceApplicationProxyType
    Type: System.Type

    The type of service application proxy to create.

  • name
    Type: System.String

    The name of the new service application proxy.

  • serviceApplicationUri
    Type: System.Uri

    The uniform resource identifier (URI) for the new service application proxy.

Return value

Type: Microsoft.SharePoint.Administration.SPServiceApplicationProxy
Returns a new service application proxy.

See also

Reference

IServiceProxyAdministration interface

IServiceProxyAdministration members

Microsoft.SharePoint.Administration namespace