共用方式為


ConnectionInfo 類別

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

繼承階層

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class ConnectionInfo _
    Inherits DtsObject _
    Implements IDTSName
'用途
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

ConnectionInfo 型別公開下列成員。

屬性

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

上層

方法

  名稱 說明
公用方法 Equals Determines whether two object instances are equal. (繼承自 DtsObject。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

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.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。