Partager via


Classe ConnectionInfo

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ConnectionInfo _
    Inherits DtsObject _
    Implements IDTSName
'Utilisation
Dim instance As ConnectionInfo
public sealed class ConnectionInfo : DtsObject, 
    IDTSName
public ref class ConnectionInfo sealed : public DtsObject, 
    IDTSName
[<SealedAttribute>]
type ConnectionInfo =  
    class
        inherit DtsObject
        interface IDTSName
    end
public final class ConnectionInfo extends DtsObject implements IDTSName

Le type ConnectionInfo expose les membres suivants.

Propriétés

  Nom Description
Propriété publique ConnectionContact Represents a writer-defined String. This value is read-only.
Propriété publique ConnectionType Returns the name of the connection manager used to create the connection. This value is read-only.
Propriété publique CreationName Returns the string that is used to create an instance of the ConnectionInfo object. This property is read-only.
Propriété publique Description Gets or sets a description for a connection.
Propriété publique FileName Returns the name of the file that is the data source for the connection. This value is read-only.
Propriété publique FileNameVersionString Returns a String that contains the version number of the file. This value is read-only.
Propriété publique IconFile Represents 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.
Propriété publique IconResource Returns 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.
Propriété publique ID Represents the GUID assigned to the connection. This value is read-only.
Propriété publique Name Gets or sets the name of the connection.
Propriété publique UITypeName Returns the name of the connection type that is shown in the graphical user interface. This value is read-only.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.