SPServiceProvisioningContext class
提供可消耗他們佈建時所使用的服務應用程式的資訊。.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPServiceProvisioningContext
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPServiceProvisioningContext
'用途
Dim instance As SPServiceProvisioningContext
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPServiceProvisioningContext
備註
SPServiceProvisioningContext只能用來佈建服務應用程式在兩個案例: 其中佈建發生時執行 Psconfig.exe 與伺服器陣列設定精靈單鍵安裝。
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.