SetHostName Property
Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.
The SetHostNameproperty is maintained for compatibility with earlier versions of SQL Distributed Management Objects (SQL-DMO).
Syntaxe
object
.SetHostName [= value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetSetHostName(LPBOOL pRetVal);
HRESULT SetSetHostName(BOOL NewValue);