Compartir a través de


DtsConnectionAttribute.ConnectionType Propiedad

Definición

Obtiene o establece el tipo del administrador de conexiones. Esta propiedad es obligatoria.

public:
 property System::String ^ ConnectionType { System::String ^ get(); void set(System::String ^ value); };
public string ConnectionType { get; set; }
member this.ConnectionType : string with get, set
Public Property ConnectionType As String

Valor de propiedad

Cadena que describe el tipo del administrador de conexiones.

Ejemplos

En el ejemplo siguiente se muestra una clase que implementa este atributo.

  [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  

Se aplica a