Partager via


Propriété UIConnectionInfo.ServerName

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly :  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Syntaxe

'Déclaration
Public Property ServerName As String 
    Get 
    Set
'Utilisation
Dim instance As UIConnectionInfo 
Dim value As String 

value = instance.ServerName

instance.ServerName = value
public string ServerName { get; set; }
public:
property String^ ServerName {
    String^ get ();
    void set (String^ value);
}
member ServerName : string with get, set
function get ServerName () : String 
function set ServerName (value : String)

Valeur de propriété

Type : System.String
A String value that specifies the name of the instance of the Database Engine for the connection.

Voir aussi

Référence

UIConnectionInfo Classe

Espace de noms Microsoft.SqlServer.Management.Smo.RegSvrEnum