Share via


SMOServerConn.ConnectionString Property

Gets or sets the connection string for the SMO connection.

Namespace:  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

Syntax

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

Property Value

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