Export (0) Print
Expand All

ConnectionInfo Class

Contains information about the connections available on the computer. This class cannot be inherited.

Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.ConnectionInfo

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

public sealed class ConnectionInfo : DtsObject, 
	IDTSName

The ConnectionInfo type exposes the following members.

  NameDescription
Public propertyConnectionContactRepresents a writer-defined String. This value is read-only.
Public propertyConnectionTypeReturns the name of the connection manager used to create the connection. This value is read-only.
Public propertyCreationNameReturns the string that is used to create an instance of the ConnectionInfo object. This property is read-only.
Public propertyDescriptionGets or sets a description for a connection.
Public propertyFileNameReturns the name of the file that is the data source for the connection. This value is read-only.
Public propertyFileNameVersionStringReturns a String that contains the version number of the file. This value is read-only.
Public propertyIconFileRepresents the name of the resource file that contains the icon to use when representing this connection type in the graphical user interface. This value is read-only.
Public propertyIconResourceReturns the name of the .resource file or the .resx file that contains the icon to use when representing this connection type in the graphical user interface. This value is read-only.
Public propertyIDRepresents the GUID assigned to the connection. This value is read-only.
Public propertyNameGets or sets the name of the connection.
Public propertyUITypeNameReturns the name of the connection type that is shown in the graphical user interface. This value is read-only.
Top

  NameDescription
Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

A connection is a communication link to a data source. Integration Services supports connections to data stored in a variety of OLE DB-compliant formats. For more information, see Adding Connections Programmatically.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft