ConnectionInfo 类

Parses a connection string and exposes several properties associated with the connection. This class cannot be inherited.

继承层次结构

System. . :: . .Object
  Microsoft.AnalysisServices..::..ConnectionInfo

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public NotInheritable Class ConnectionInfo
用法
Dim instance As ConnectionInfo
public sealed class ConnectionInfo
public ref class ConnectionInfo sealed
[<SealedAttribute>]
type ConnectionInfo =  class end
public final class ConnectionInfo

ConnectionInfo 类型公开以下成员。

构造函数

  名称 说明
公共方法 ConnectionInfo Initializes a new instance of the ConnectionInfo class using a connection string.

页首

属性

  名称 说明
公共属性 Catalog Gets a catalog of databases associated with the ConnectionInfo object.
公共属性 CharacterEncoding Gets the character encoding value associated with the ConnectionInfo object.
公共属性 CompressionLevel Gets the compression level associated with the ConnectionInfo object.
公共属性 ConnectionType Gets the connection type associated with the ConnectionInfo object.
公共属性 ConnectTimeout Gets the connection timeout information associated with the ConnectionInfo object.
公共属性 EncryptionPassword 基础结构。
公共属性 ExtendedProperties Gets the extended properties associated with the ConnectionInfo object.
公共属性 ImpersonationLevel Gets the impersonation level associated with a ConnectionInfo object.
公共属性 InstanceName Gets the instance name associated with the ConnectionInfo object.
公共属性 IntegratedSecurity Gets the integrated security status for the ConnectionInfo object.
公共属性 Location Gets the location associated with the ConnectionInfo object.
公共属性 PacketSize Gets the packet size in bytes associated with a ConnectionInfo object.
公共属性 Password Gets the password associated with the ConnectionInfo object.
公共属性 Port Gets the port number associated with the ConnectionInfo object.
公共属性 ProtectionLevel Gets the protection level associated with a ConnectionInfo object.
公共属性 ProtocolFormat Gets the protocol format for the ConnectionInfo object.
公共属性 Server Gets the server name associated with a ConnectionInfo object.
公共属性 Sspi Gets the name of the SSPI package to use during the authentication process of the connection.
公共属性 Timeout Gets the timeout value associated with the ConnectionInfo object.
公共属性 TransportCompression Gets the TransportCompression object element with the ConnectionInfo object.
公共属性 UseExistingFile Gets the Boolean status of use existing file property of the ConnectionInfo object.
公共属性 UserID Gets the user identifier associated with the ConnectionInfo object.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。