Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DtsConnectionAttribute Class

 

Applies To: SQL Server 2016 Preview

Supplies design time information about a ConnectionManager object.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)


[AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, 
	AllowMultiple = false)]
public sealed class DtsConnectionAttribute : DtsLocalizableAttribute

NameDescription
System_CAPS_pubmethodDtsConnectionAttribute()

Initializes a new instance of the DtsConnectionAttribute class.

NameDescription
System_CAPS_pubpropertyConnectionContact

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

System_CAPS_pubpropertyConnectionType

Gets or sets the type of the connection manager. This property is required.

System_CAPS_pubpropertyDescription

(Inherited from DtsLocalizableAttribute.)

System_CAPS_pubpropertyDisplayName

(Inherited from DtsLocalizableAttribute.)

System_CAPS_pubpropertyIconResource

Gets or sets the icon associated with the connection manager object.

System_CAPS_pubpropertyLocalizationType

(Inherited from DtsLocalizableAttribute.)

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

System_CAPS_pubpropertyUITypeName

Specifies the qualified name of the assembly that implements the user interface of the connection manager.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

This attribute is applied to managed Integration Services connection managers that are derived from ConnectionManagerBase. The attribute identifies a class as a managed connection manager and provides information through its properties that control how the SSIS Designer displays and interacts with the object.

The DisplayName and ConnectionType properties are required properties. The DisplayName is displayed in the list of connection managers in SQL Server Data Tools (SSDT).

Legacy Code Example

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
{
}

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

Show:
© 2015 Microsoft