ConnectionInfo Members

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

The following tables list the members exposed by the ConnectionInfo type.

Public Constructors

  名称 Description
ConnectionInfo Initializes a new instance of the ConnectionInfo class using a connection string.

顶部

Public Properties

  名称 Description
ms161837.pubproperty(zh-cn,SQL.90).gif Catalog Gets a catalog of databases associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif CharacterEncoding Gets the character encoding value associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif CompressionLevel Gets the compression level associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif ConnectionType Gets the connection type associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif ConnectTimeout Gets the connection timeout information associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif EncryptionPassword  
ms161837.pubproperty(zh-cn,SQL.90).gif ExtendedProperties Gets the extended properties associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif ImpersonationLevel Gets the impersonation level associated with a ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif InstanceName Gets the instance name associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif IntegratedSecurity Gets the integrated security status for the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif Location Gets the location associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif PacketSize Gets the packet size in bytes associated with a ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif Password Gets the password associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif Port Gets the port number associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif ProtectionLevel Gets the protection level associated with a ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif ProtocolFormat Gets the protocol format for the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif Server Gets the server name associated with a ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif Sspi  
ms161837.pubproperty(zh-cn,SQL.90).gif Timeout Gets the timeout value associated with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif TransportCompression Gets the TransportCompression object element with the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif UseExistingFile Gets the Boolean status of use existing file property of the ConnectionInfo object.
ms161837.pubproperty(zh-cn,SQL.90).gif UserID Gets the user identifier associated with the ConnectionInfo object.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms161837.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms161837.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms161837.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms161837.pubmethod(zh-cn,SQL.90).gifms161837.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms161837.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms161837.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms161837.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

ConnectionInfo Class
Microsoft.AnalysisServices Namespace