ConnectionManagerAdoNetClass.ConnectionString 屬性
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets or sets the connection string used to establish a connection to a data source.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Property ConnectionString As String
Get
Set
'用途
Dim instance As ConnectionManagerAdoNetClass
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)
屬性值
型別:System.String
A String that contains the connection string value.
實作
IDTSConnectionManager100.ConnectionString
備註
For more information, see ConnectionManager.