Compartir a través de


DtsConnectionAttribute.ConnectionContact Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Property ConnectionContact As String 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Ejemplos

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

Vea también

Referencia

DtsConnectionAttribute Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime