Share via


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.Type

    The type of service application proxy to create.

  • name
    Type: System.String

    The name of the new service application proxy.

  • serviceApplicationAddress
    Type: System.Uri

    The address of 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)

See Also

Reference

SecureStoreServiceProxy Class

SecureStoreServiceProxy Members

Microsoft.Office.SecureStoreService.Server Namespace