Compartir a través de


ConnectionString Propiedad

Gets or sets the connection string that the alias uses to connect to the server.

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

Sintaxis

'Declaración
Public Property ConnectionString As String
    Get
    Set
'Uso
Dim instance As ServerAlias
Dim value As String

value = instance.ConnectionString

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

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the connection string.