DtsConnectionAttribute 클래스

Supplies design time information about a ConnectionManager object.

상속 계층

System.Object
  System.Attribute
    Microsoft.SqlServer.Dts.Runtime.Localization.DtsLocalizableAttribute
      Microsoft.SqlServer.Dts.Runtime.DtsConnectionAttribute

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

구문

‘선언
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := False, AllowMultiple := False)> _
Public NotInheritable Class DtsConnectionAttribute _
    Inherits DtsLocalizableAttribute
‘사용 방법
Dim instance As DtsConnectionAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class DtsConnectionAttribute : DtsLocalizableAttribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = false, AllowMultiple = false)]
public ref class DtsConnectionAttribute sealed : public DtsLocalizableAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = false)>]
type DtsConnectionAttribute =  
    class 
        inherit DtsLocalizableAttribute 
    end
public final class DtsConnectionAttribute extends DtsLocalizableAttribute

DtsConnectionAttribute 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 DtsConnectionAttribute Initializes a new instance of the DtsConnectionAttribute class.

맨 위로 이동

속성

  이름 설명
공용 속성 ConnectionContact Gets or sets a String that contains the contact information for the connection manager.
공용 속성 ConnectionType Gets or sets the type of the connection manager. This property is required.
공용 속성 Description 인프라입니다. Gets or sets the description of the DtsLocalizableAttribute. (DtsLocalizableAttribute에서 상속됨)
공용 속성 DisplayName 인프라입니다. Gets or sets the display name of the DtsLocalizableAttribute. (DtsLocalizableAttribute에서 상속됨)
공용 속성 IconResource Gets or sets the icon associated with the connection manager object.
공용 속성 LocalizationType 인프라입니다. Gets or sets the class that supplies values for the DtsLocalizableAttribute. (DtsLocalizableAttribute에서 상속됨)
공용 속성 TypeId (Attribute에서 상속됨)
공용 속성 UITypeName Specifies the qualified name of the assembly that implements the user interface of the connection manager.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Attribute에서 상속됨)
공용 메서드 GetHashCode (Attribute에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 IsDefaultAttribute (Attribute에서 상속됨)
공용 메서드 Match (Attribute에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 _Attribute.GetIDsOfNames (Attribute에서 상속됨)
명시적 인터페이스 구현전용 메서드 _Attribute.GetTypeInfo (Attribute에서 상속됨)
명시적 인터페이스 구현전용 메서드 _Attribute.GetTypeInfoCount (Attribute에서 상속됨)
명시적 인터페이스 구현전용 메서드 _Attribute.Invoke (Attribute에서 상속됨)

맨 위로 이동

주의

This attribute is applied to managed Integration Services connection managers that are derived from ConnectionManagerBase. The attribute identifies a class as a managed connection manager and provides information through its properties that control how the SSIS Designer displays and interacts with the object.

The DisplayName and ConnectionType properties are required properties. The DisplayName is displayed in the list of connection managers in SQL Server Data Tools(SSDT).

The following example shows a class that implements this attribute.

  [DtsConnection(DisplayName = "MyConnectionManager",
    Description = "Custom Connection Manager for Testing",
    IconResource = "MyConnectionManager.MyConnectionMgrIcon.ico",
    UITypeName = "MyNamespace.MyConnectionManagerClassName," +
    "MyAssemblyName,Version=1.00.000.00,Culture=neutral,PublicKeyToken=")]
public class MyConnnectionMgr : ConnectionManagerBase
{
}
<DtsConnection(DisplayName:="MyConnectionManager", _
  Description:="Custom Connection Manager for Testing", _
  IconResource:="MyConnectionManager.MyConnectionMgrIcon.ico", _
  UITypeName:="MyNamespace.MyConnectionManagerClassName,MyAssemblyName," & _
  "Version=1.00.000.00,Culture=neutral,PublicKeyToken=")> _
Public Class MyConnnectionMgr
     Inherits ConnectionManagerBase
End Class

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dts.Runtime 네임스페이스