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

  • serviceApplicationType
    Type: System.Type

    The type of 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.

See Also

Reference

SecureStoreService Class

SecureStoreService Members

Microsoft.Office.SecureStoreService.Server Namespace