SecureStoreServiceProxy.CreateProxy Method
Creates an instance of the specified service application proxy type.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
Public Function CreateProxy ( _
serviceApplicationProxyType As Type, _
name As String, _
serviceApplicationAddress As Uri, _
provisioningContext As SPServiceProvisioningContext _
) As SPServiceApplicationProxy
'Usage
Dim instance As SecureStoreServiceProxy
Dim serviceApplicationProxyType As Type
Dim name As String
Dim serviceApplicationAddress As Uri
Dim provisioningContext As SPServiceProvisioningContext
Dim returnValue As SPServiceApplicationProxy
returnValue = instance.CreateProxy(serviceApplicationProxyType, _
name, serviceApplicationAddress, _
provisioningContext)
public SPServiceApplicationProxy CreateProxy(
Type serviceApplicationProxyType,
string name,
Uri serviceApplicationAddress,
SPServiceProvisioningContext provisioningContext
)
Parameters
serviceApplicationProxyType
Type: System.TypeThe type of service application proxy to create.
name
Type: System.StringThe name of the new service application proxy.
serviceApplicationAddress
Type: System.UriThe address of the new service application proxy.
provisioningContext
Type: Microsoft.SharePoint.Administration.SPServiceProvisioningContextThe default provisioning parameters for the new service application proxy.
Return Value
Type: Microsoft.SharePoint.Administration.SPServiceApplicationProxy
Returns a new service application proxy.
Implements
IServiceProxyAdministration.CreateProxy(Type, String, Uri, SPServiceProvisioningContext)