共用方式為


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

Public ReadOnly Property Location As String
    Get

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