다음을 통해 공유


ConnectionContact 속성

Gets or sets a String that contains the contact information for the connection manager.

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

구문

‘선언
Public Property ConnectionContact As String
    Get
    Set
‘사용 방법
Dim instance As DtsConnectionAttribute
Dim value As String

value = instance.ConnectionContact

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

속성 값

유형: System. . :: . .String
A String that contains the contact information for the connection manager.

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.0.0.0,Culture=neutral," +
    "PublicKeyToken=<value>")]
public class MyConnnectionMgr : ConnectionManagerBase
{
}
<DtsConnection(DisplayName:="MyConnectionManager", _
  Description:="Custom Connection Manager for Testing", _
  IconResource:="MyConnectionManager.MyConnectionMgrIcon.ico", _
  UITypeName:="MyNamespace.MyConnectionManagerClassName,MyAssemblyName," & _
  "Version=1.0.0.0,Culture=neutral,PublicKeyToken=<value>")> _
Public Class MyConnnectionMgr
     Inherits ConnectionManagerBase
End Class