SecureStoreService.CreateProxy Method
Creates a new SecureStoreServiceApplicationProxy using the specified parameters.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
Public Function CreateProxy ( _
name As String, _
serviceApplication As SPServiceApplication, _
provisioningContext As SPServiceProvisioningContext _
) As SPServiceApplicationProxy
'Usage
Dim instance As SecureStoreService
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.StringThe name of the new proxy.
serviceApplication
Type: Microsoft.SharePoint.Administration.SPServiceApplicationThe service application to which the proxy refers.
provisioningContext
Type: Microsoft.SharePoint.Administration.SPServiceProvisioningContextThe context from which to extract the application pool that will run the proxy.
Return Value
Type: Microsoft.SharePoint.Administration.SPServiceApplicationProxy
An object that represents the proxy of the specified service application.
Implements
IServiceAdministration.CreateProxy(String, SPServiceApplication, SPServiceProvisioningContext)
Remarks
This method must be invoked only after the default SecureStoreServiceProxy has been created.