SecureStoreService.CreateProxy(String, SPServiceApplication, SPServiceProvisioningContext) SecureStoreService.CreateProxy(String, SPServiceApplication, SPServiceProvisioningContext) SecureStoreService.CreateProxy(String, SPServiceApplication, SPServiceProvisioningContext) Method

Definition

Creates a new SecureStoreServiceApplicationProxy using the specified parameters.

public:
 virtual Microsoft::SharePoint::Administration::SPServiceApplicationProxy ^ CreateProxy(System::String ^ name, Microsoft::SharePoint::Administration::SPServiceApplication ^ serviceApplication, Microsoft::SharePoint::Administration::SPServiceProvisioningContext ^ provisioningContext);
public Microsoft.SharePoint.Administration.SPServiceApplicationProxy CreateProxy (string name, Microsoft.SharePoint.Administration.SPServiceApplication serviceApplication, Microsoft.SharePoint.Administration.SPServiceProvisioningContext provisioningContext);
Public Function CreateProxy (name As String, serviceApplication As SPServiceApplication, provisioningContext As SPServiceProvisioningContext) As SPServiceApplicationProxy
Parameters
name
String String String

The name of the new proxy.

serviceApplication
SPServiceApplication SPServiceApplication SPServiceApplication

The service application to which the proxy refers.

provisioningContext
SPServiceProvisioningContext SPServiceProvisioningContext SPServiceProvisioningContext

The context from which to extract the application pool that will run the proxy.

Returns

An object that represents the proxy of the specified service application.

Implements

Remarks

This method must be invoked only after the default SecureStoreServiceProxy has been created.

Applies to