Share via


SPBackupRestoreConsoleObject.Location property

Gets the UNC path where the backup is stored.

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

Syntax

'Declaration
Public ReadOnly Property Location As String
    Get
'Usage
Dim instance As SPBackupRestoreConsoleObject
Dim value As String

value = instance.Location
public string Location { get; }

Property value

Type: System.String
A String that represents the full directory where the output of the backup operation, or the source of the restore operation, is stored; for example, \\server_name\folder_name or C:\folder_name.

See also

Reference

SPBackupRestoreConsoleObject class

SPBackupRestoreConsoleObject members

Microsoft.SharePoint.Administration.Backup namespace