共用方式為


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方法。

請參閱

參照

SPWindowsService class

SPWindowsService members

Microsoft.SharePoint.Administration namespace