Share via


ConnectionManagerExcelClass.ConnectionString Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the connection string used to establish a connection to a data source.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Property ConnectionString As String 
    Get 
    Set
'Usage
Dim instance As ConnectionManagerExcelClass 
Dim value As String 

value = instance.ConnectionString

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

Property Value

Type: System.String
A String that contains the connection string value.

Implements

IDTSConnectionManager100.ConnectionString

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerExcelClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace