SqlOlapConnectionInfoBase.ServerName Property
Gets or sets the name of the instance of SQL Server.
Espace de noms: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
Syntaxe
'Déclaration
Public Property ServerName As String
public string ServerName { get; set; }
public:
property String^ ServerName {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_ServerName ()
/** @property */
public void set_ServerName (String value)
public function get ServerName () : String
public function set ServerName (value : String)
Valeur de propriété
A String value that specifies the name of the instance of SQL Server.
Notes
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
SqlOlapConnectionInfoBase Class
SqlOlapConnectionInfoBase Members
Microsoft.SqlServer.Management.Common Namespace