Compartir a través de


Clase ConnectionInfo

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public NotInheritable Class ConnectionInfo _
    Inherits DtsObject _
    Implements IDTSName
'Uso
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

El tipo ConnectionInfo expone los siguientes miembros.

Propiedades

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

Arriba

Métodos

  Nombre Descripción
Método público Equals Determines whether two object instances are equal. (Se hereda de DtsObject.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode Returns the hash code for this instance. (Se hereda de DtsObject.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Comentarios

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.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.