SecureStoreService.CreateApplication Method
Creates a SecureStoreServiceApplication using the specified parameters.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
Public Function CreateApplication ( _
name As String, _
serviceApplicationType As Type, _
provisioningContext As SPServiceProvisioningContext _
) As SPServiceApplication
'Usage
Dim instance As SecureStoreService
Dim name As String
Dim serviceApplicationType As Type
Dim provisioningContext As SPServiceProvisioningContext
Dim returnValue As SPServiceApplication
returnValue = instance.CreateApplication(name, _
serviceApplicationType, provisioningContext)
public SPServiceApplication CreateApplication(
string name,
Type serviceApplicationType,
SPServiceProvisioningContext provisioningContext
)
Parameters
name
Type: System.StringThe name of the service application.
serviceApplicationType
Type: System.TypeThe type of the service application.
provisioningContext
Type: Microsoft.SharePoint.Administration.SPServiceProvisioningContextThe context from which to get the Internet Information Services (IIS) application pool, which is used to execute the service application.
Return Value
Type: Microsoft.SharePoint.Administration.SPServiceApplication
An object that represents a new service application on which the Secure Store Service runs.
Implements
IServiceAdministration.CreateApplication(String, Type, SPServiceProvisioningContext)
Remarks
This method supports only SecureStoreServiceApplication objects.