Classe ConnectionInfo

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ConnectionInfo _
    Inherits DtsObject _
    Implements IDTSName
'Utilizzo
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

Nel tipo ConnectionInfo sono esposti i membri seguenti.

Proprietà

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

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Determines whether two object instances are equal. Ereditato da DtsObject.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Returns the hash code for this instance. Ereditato da DtsObject.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.