共用方式為


SPServer.EnsureWebServiceApplicationPoolAcountIsMemberOfLocalWorkerProcessGroup method

新增使用者至 WSS_WPG 指定的處理序身分識別相關聯。

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

Syntax

'宣告
Public Shared Sub EnsureWebServiceApplicationPoolAcountIsMemberOfLocalWorkerProcessGroup ( _
    appPool As SPIisWebServiceApplicationPool _
)
'用途
Dim appPool As SPIisWebServiceApplicationPoolSPServer.EnsureWebServiceApplicationPoolAcountIsMemberOfLocalWorkerProcessGroup(appPool)
public static void EnsureWebServiceApplicationPoolAcountIsMemberOfLocalWorkerProcessGroup(
    SPIisWebServiceApplicationPool appPool
)

參數

請參閱

參照

SPServer class

SPServer members

Microsoft.SharePoint.Administration namespace