다음을 통해 공유


DtsContainer Constructor

Initializes a new instance of the DtsContainer class. This constructor is not CLS-compliant.

네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Protected Sub New ( _
    DtsContainer As IDTSContainer90 _
)
[CLSCompliantAttribute(false)] 
protected DtsContainer (
    IDTSContainer90 DtsContainer
)
[CLSCompliantAttribute(false)] 
protected:
DtsContainer (
    IDTSContainer90^ DtsContainer
)
/** @attribute CLSCompliantAttribute(false) */ 
protected DtsContainer (
    IDTSContainer90 DtsContainer
)
CLSCompliantAttribute(false) 
protected function DtsContainer (
    DtsContainer : IDTSContainer90
)

매개 변수

  • DtsContainer
    The container to create.

주의

This constructor is called by derived class constructors to initialize state in this type.

The Package class implements the DtsContainer through its inheritance of the EventsProvider. To create a class that inherits from DtsContainer, simply instantiate the class as usual. The following code example creates a new Package class.

using System;
using Microsoft.SqlServer.Dts.Runtime;
namespace Microsoft.Samples.SqlServer.Dts
{
    public static void Main(string []args)
    {
        Package p = new Package();
        //
        // Access methods and properties of the DtsContainer
        // here through the Package object.
    }
}
Imports System
Imports Microsoft.SqlServer.Dts.Runtime
Namespace Microsoft.Samples.SqlServer.Dts
    Public Shared  Sub Main(ByValstring()args)
        Dim p As Package =  New Package() 
        '
        ' Access methods and properties of the DtsContainer
        ' here through the Package object.
    End Sub
End Namespace

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

DtsContainer Class
DtsContainer Members
Microsoft.SqlServer.Dts.Runtime Namespace