다음을 통해 공유


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