共用方式為


SPRestoreSettings.FarmAdminPassword Property

Gets or sets the password of the administrator of the server farm.

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

Syntax

'Declaration
Public Property FarmAdminPassword As SecureString
    Get
    Set
'Usage
Dim instance As SPRestoreSettings
Dim value As SecureString

value = instance.FarmAdminPassword

instance.FarmAdminPassword = value
public SecureString FarmAdminPassword { get; set; }

Property Value

Type: System.Security.SecureString
A SecureString that represents the password of the farm administrator.

See Also

Reference

SPRestoreSettings Class

SPRestoreSettings Members

Microsoft.SharePoint.Administration.Backup Namespace