SPIisWebServiceApplicationPool.UpgradeFromProcessIdentity method
升級SPProcessIdentity物件SPIisWebServiceApplicationPool物件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function UpgradeFromProcessIdentity ( _
processIdentity As SPProcessIdentity, _
name As String _
) As SPIisWebServiceApplicationPool
'用途
Dim processIdentity As SPProcessIdentity
Dim name As String
Dim returnValue As SPIisWebServiceApplicationPool
returnValue = SPIisWebServiceApplicationPool.UpgradeFromProcessIdentity(processIdentity, _
name)
public static SPIisWebServiceApplicationPool UpgradeFromProcessIdentity(
SPProcessIdentity processIdentity,
string name
)
參數
processIdentity
Type: Microsoft.SharePoint.Administration.SPProcessIdentity若要升級之SPProcessIdentity物件。
name
Type: System.String應用程式集區名稱。如果具有此名稱的應用程式集區存在於伺服器陣列上,則會傳回該應用程式集區。
傳回值
Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool
SPIisWebServiceApplicationPool 物件。
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | processIdentity或name參數是 null 參考 (在 Visual Basic 中的Nothing )。 |
請參閱
參照
SPIisWebServiceApplicationPool class