DtsConnectionAttribute.ConnectionType プロパティ

接続マネージャーの種類を取得します。値の設定も可能です。 このプロパティは必須です。

名前空間:  Microsoft.SqlServer.Dts.Runtime
アセンブリ:  Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS.dll)

構文

'宣言
Public Property ConnectionType As String 
    Get 
    Set
'使用
Dim instance As DtsConnectionAttribute 
Dim value As String 

value = instance.ConnectionType

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

プロパティ値

型: System.String
接続マネージャーの種類を表す String です。

使用例

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

  [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

関連項目

参照

DtsConnectionAttribute クラス

Microsoft.SqlServer.Dts.Runtime 名前空間