The Description property specifies informational text for a Microsoft® SQL Server™ or SQL Server Agent object.
object.Description [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | String containing descriptive text |
String
Read-only for a ConfigValue or ServerRole object. Read/write for all other objects.
HRESULT GetDescription(SQLDMO_LPBSTR pRetVal);
HRESULT SetDescription(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.