Share 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