Share via


WordService.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 ( _
    name As String, _
    serviceApplication As SPServiceApplication, _
    provisioningContext As SPServiceProvisioningContext _
) As SPServiceApplicationProxy
'Usage
Dim instance As WordService
Dim name As String
Dim serviceApplication As SPServiceApplication
Dim provisioningContext As SPServiceProvisioningContext
Dim returnValue As SPServiceApplicationProxy

returnValue = instance.CreateProxy(name, _
    serviceApplication, provisioningContext)
public SPServiceApplicationProxy CreateProxy(
    string name,
    SPServiceApplication serviceApplication,
    SPServiceProvisioningContext provisioningContext
)

Parameters

  • name
    Type: System.String

    A [System.String] that specifies the name of the new service application proxy.

Return value

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

Implements

IServiceAdministration.CreateProxy(String, SPServiceApplication, SPServiceProvisioningContext)

Remarks

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

See also

Reference

WordService class

WordService members

Microsoft.Office.Word.Server.Service namespace