DtsConnectionAttribute クラス

定義

ConnectionManagerオブジェクトの設計時情報を提供します。

public ref class DtsConnectionAttribute sealed : Microsoft::SqlServer::Dts::Runtime::Localization::DtsLocalizableAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class DtsConnectionAttribute : Microsoft.SqlServer.Dts.Runtime.Localization.DtsLocalizableAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type DtsConnectionAttribute = class
    inherit DtsLocalizableAttribute
Public NotInheritable Class DtsConnectionAttribute
Inherits DtsLocalizableAttribute
継承
DtsConnectionAttribute
属性

以下の例は、この属性を実装するクラスを示しています。

  [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  

注釈

この属性は、 ConnectionManagerBaseから派生した管理型統合サービス接続管理者に適用されます。 この属性はクラスを管理される接続管理者として識別し、そのプロパティを通じてSSISデザイナーがオブジェクトとどのように表示・相互作用するかを制御する情報を提供します。

DisplayNameConnectionTypeのプロパティは必須のプロパティです。 DisplayNameはSQL Server Data Toolsの接続マネージャー一覧(SSDT)に表示されます。

コンストラクター

名前 説明
DtsConnectionAttribute()

DtsConnectionAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
ConnectionContact

接続マネージャーの連絡先情報を含む文字列を取得したり設定したりします。

ConnectionType

接続マネージャーのタイプを取得するか設定します。 このプロパティは必須です。

Description

DtsLocalizableAttributeの記述を取得または設定します。

(継承元 DtsLocalizableAttribute)
DisplayName

DtsLocalizableAttributeの表示名を取得または設定します。

(継承元 DtsLocalizableAttribute)
IconResource

接続マネージャーオブジェクトに関連付けられたアイコンを取得したり設定したりします。

LocalizationType

DtsLocalizableAttributeの値を提供するクラスを取得するか設定します。

(継承元 DtsLocalizableAttribute)
UITypeName

接続マネージャーのユーザーインターフェースを実装するアセンブリの限定名を指定します。

適用対象