Share via


Backup.BackupSetName Property

Gets or sets the name used to identify a particular backup set.

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

Syntax

'Declaration
Public Property BackupSetName As String
    Get
    Set
'Usage
Dim instance As Backup
Dim value As String

value = instance.BackupSetName

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

Property Value

Type: System.String
A String value that specifies the backup set name. By default, the value is set to an empty string.

Remarks

The BackupSetName property value is limited to 128 characters.