共用方式為


SPBackupRestoreConsoleObject.Location property

取得備份儲存所在的 UNC 路徑。

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
代表完整的備份作業中,輸出或來源的還原作業,會對儲存所在目錄 ; String例如, \\server_name\folder_name或C:\folder_name。

請參閱

參照

SPBackupRestoreConsoleObject class

SPBackupRestoreConsoleObject members

Microsoft.SharePoint.Administration.Backup namespace