The BackupSetName property identifies a unit of backup work.
Backup Object | Restore Object |
object.BackupSetName [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | String |
The BackupSetName property value is limited to 128 characters. There is no default value.
String
Read/write
HRESULT GetBackupSetName(SQLDMO_LPBSTR pRetVal);
HRESULT SetBackupSetName(SQLDMO_LPCSTR NewValue);
Note SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.