BackupDeviceItem.Name Property

Gets the name of device for the BackupDeviceItem object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public Property Name As String 
    Get 
    Set
'Usage
Dim instance As BackupDeviceItem 
Dim value As String 

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
member Name : string with get, set
function get Name () : String 
function set Name (value : String)

Property Value

Type: System.String
A String object value that specifies the name of backup device.

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupDeviceItem Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

BACKUP (Transact-SQL)