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.StringA [System.String] that specifies the name of the new service application proxy.
serviceApplication
Type: Microsoft.SharePoint.Administration.SPServiceApplicationThe SPServiceApplication to which the service application proxy is added.
provisioningContext
Type: Microsoft.SharePoint.Administration.SPServiceProvisioningContextA SPServiceProvisioningContext that specifies the default provisioning parameters for 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.