Compartir a través de


UIConnectionInfo.ServerName Propiedad

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Ensamblado:  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxis

'Declaración
Public Property ServerName As String 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Vea también

Referencia

UIConnectionInfo Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.RegSvrEnum