Partager via


Propriété ConnectionString

Gets or sets the connection string for the SMO connection.

Espace de noms :  Microsoft.SqlServer.Dts.ManagedConnections
Assembly :  Microsoft.SqlServer.ManagedConnections (en Microsoft.SqlServer.ManagedConnections.dll)

Syntaxe

'Déclaration
Public Overrides Property ConnectionString As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

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