DtsConnectionAttribute.ConnectionContact 属性

定义

获取或设置一个字符串,其中包含连接管理器的联系信息。

public:
 property System::String ^ ConnectionContact { System::String ^ get(); void set(System::String ^ value); };
public string ConnectionContact { get; set; }
member this.ConnectionContact : string with get, set
Public Property ConnectionContact As 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  

适用于