共用方式為


ConnectionManagerID 屬性

Gets or sets the ID of the ConnectionManager object contained in the package and used by the component.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Property ConnectionManagerID As String
    Get
    Set
'用途
Dim instance As IDTSRuntimeConnection100
Dim value As String

value = instance.ConnectionManagerID

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

屬性值

型別:System. . :: . .String
The ID of the ConnectionManager object.

備註

The ConnectionManagerID property is used to store the ID of the ConnectionManager in the package referenced by the runtime connection. The ID is used to locate the connection in the Connections collection of the Package. A reference to the connection is stored in the ConnectionManager property of the runtime connection.