SPWindowsService.UpdateCredentials method
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Sub UpdateCredentials ( _
formerUsername As String _
)
'用途
Dim instance As SPWindowsService
Dim formerUsername As String
instance.UpdateCredentials(formerUsername)
public virtual void UpdateCredentials(
string formerUsername
)
參數
formerUsername
Type: System.String包含 service 的先前的使用者名稱的字串。
備註
您可以覆寫衍生自SPWindowsService類別的自訂類別中的UpdateCredentials方法。