Partilhar via


SPBackupRestoreSettings.BackupDevice Property

Gets or sets the UNC path where the backup is stored.

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

Syntax

'Declaration
Public Property BackupDevice As String
    Get
    Set
'Usage
Dim instance As SPBackupRestoreSettings
Dim value As String

value = instance.BackupDevice

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

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

SPBackupRestoreSettings Class

SPBackupRestoreSettings Members

Microsoft.SharePoint.Administration.Backup Namespace