Compartir a través de


ConnectionString Propiedad

Gets or sets the connection string for the SMO connection.

Espacio de nombres:  Microsoft.SqlServer.Dts.ManagedConnections
Ensamblado:  Microsoft.SqlServer.ManagedConnections (en Microsoft.SqlServer.ManagedConnections.dll)

Sintaxis

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

value = instance.ConnectionString

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

Valor de la propiedad

Tipo: System. . :: . .String
A String that contains the connection string for the SMO connection.