Share via


SPServiceProvisioningContext class

Provides consumable information for service applications to use when they are provisioned..

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPServiceProvisioningContext

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPServiceProvisioningContext
'Usage
Dim instance As SPServiceProvisioningContext
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPServiceProvisioningContext

Remarks

SPServiceProvisioningContext is only used to provision a service application in two cases: A single-click installation where provisioning happens when running Psconfig.exe, and the farm configuration wizard.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPServiceProvisioningContext members

Microsoft.SharePoint.Administration namespace