Compartilhar via


SetHostName Property

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

The SetHostNameproperty is maintained for compatibility with earlier versions of SQL Distributed Management Objects (SQL-DMO).

Sintaxe

object.SetHostName [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSetHostName(LPBOOL pRetVal);
HRESULT SetSetHostName(BOOL NewValue);