The SetHostName property is maintained for compatibility with earlier versions of SQL-DMO.
object.SetHostName [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | True or False |
Boolean
Read/write
HRESULT GetSetHostName(LPBOOL pRetVal);
HRESULT SetSetHostName(BOOL NewValue);