Share via


WordServiceProxy.CreateProxy method

Creates a new service application proxy.

Namespace:  Microsoft.Office.Word.Server.Service
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
Public Function CreateProxy ( _
    serviceApplicationProxyType As Type, _
    name As String, _
    serviceApplicationUri As Uri, _
    provisioningContext As SPServiceProvisioningContext _
) As SPServiceApplicationProxy
'Usage
Dim instance As WordServiceProxy
Dim serviceApplicationProxyType As Type
Dim name As String
Dim serviceApplicationUri As Uri
Dim provisioningContext As SPServiceProvisioningContext
Dim returnValue As SPServiceApplicationProxy

returnValue = instance.CreateProxy(serviceApplicationProxyType, _
    name, serviceApplicationUri, provisioningContext)
public SPServiceApplicationProxy CreateProxy(
    Type serviceApplicationProxyType,
    string name,
    Uri serviceApplicationUri,
    SPServiceProvisioningContext provisioningContext
)

Parameters

  • serviceApplicationProxyType
    Type: System.Type

    A [System.Type] that specifies the type of the service application proxy.

  • name
    Type: System.String

    A string that specifies the name of the service application proxy.

  • serviceApplicationUri
    Type: System.Uri

    A [System.Uri] that specifies the address of the service application proxy.

Return value

Type: Microsoft.SharePoint.Administration.SPServiceApplicationProxy
Returns SPServiceApplicationProxy.

Implements

IServiceProxyAdministration.CreateProxy(Type, String, Uri, SPServiceProvisioningContext)

Remarks

If the service application proxy already exists, this method returns the existing WordServiceApplicationProxy.

See also

Reference

WordServiceProxy class

WordServiceProxy members

Microsoft.Office.Word.Server.Service namespace