Partager via


SPRestoreSettings.FarmAdminLoginName Property

Gets or sets the logon name of the administrator of the server farm.

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

Syntax

Public Property FarmAdminLoginName As String
    Get
    Set

Dim instance As SPRestoreSettings
Dim value As String

value = instance.FarmAdminLoginName

instance.FarmAdminLoginName = value
public string FarmAdminLoginName { get; set; }

Property Value

Type: System.String
A String that represents the logon name of the farm administrator.

See Also

Reference

SPRestoreSettings Class

SPRestoreSettings Members

Microsoft.SharePoint.Administration.Backup Namespace