Proprietà SMOServerConn.ConnectionString

Gets or sets the connection string for the SMO connection.

Spazio dei nomi  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

Sintassi

'Dichiarazione
Public Overrides Property ConnectionString As String 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Vedere anche

Riferimento

SMOServerConn Classe

Spazio dei nomi Microsoft.SqlServer.Dts.ManagedConnections