Compartir a través de


ServerInstance Propiedad

Gets or sets the name of the target server for the connection.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Property ServerInstance As String
    Get
    Set
'Uso
Dim instance As ISfcConnection
Dim value As String

value = instance.ServerInstance

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

Valor de la propiedad

Tipo: System. . :: . .String
A string containing the server name.