BackupSetName Property (SQL-DMO)

The BackupSetName property identifies a unit of backup work.

Applies To
Backup Object Restore Object

Syntax

object.BackupSetName [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value String

Remarks

The BackupSetName property value is limited to 128 characters. There is no default value.

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

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.


  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.