Share via


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