Share via


ConnectionInfo Class

 

Applies To: SQL Server (starting with 2016)

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

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.ConnectionInfo

Syntax

public sealed class ConnectionInfo
public ref class ConnectionInfo sealed 
[<Sealed>]
type ConnectionInfo = class end
Public NotInheritable Class ConnectionInfo

Constructors

Name Description
System_CAPS_pubmethod ConnectionInfo(String)

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

Properties

Name Description
System_CAPS_pubproperty AccessMode

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

System_CAPS_pubproperty AuthenticationScheme

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

System_CAPS_pubproperty BypassAuthorization

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

System_CAPS_pubproperty Catalog

Gets a catalog of databases associated with the ConnectionInfo object.

System_CAPS_pubproperty Certificate

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

System_CAPS_pubproperty CharacterEncoding

Gets the character encoding value associated with the ConnectionInfo object.

System_CAPS_pubproperty ClientCertificateThumbprint

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

System_CAPS_pubproperty CompressionLevel

Gets the compression level associated with the ConnectionInfo object.

System_CAPS_pubproperty ConnectionType

Gets the connection type associated with the ConnectionInfo object.

System_CAPS_pubproperty ConnectTimeout

Gets the connection timeout information associated with the ConnectionInfo object.

System_CAPS_pubproperty EncryptionPassword

Gets the encryption password associated with the ConnectionInfo object.

System_CAPS_pubproperty ExtAuthInfo

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

System_CAPS_pubproperty ExtendedProperties

Gets the extended properties associated with the ConnectionInfo object.

System_CAPS_pubproperty IdentityProvider

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

System_CAPS_pubproperty ImpersonationLevel

Gets the impersonation level associated with a ConnectionInfo object.

System_CAPS_pubproperty InstanceName

Gets the instance name associated with the ConnectionInfo object.

System_CAPS_pubproperty IntegratedSecurity

Gets the integrated security status for the ConnectionInfo object.

System_CAPS_pubproperty Location

Gets the location associated with the ConnectionInfo object.

System_CAPS_pubproperty PacketSize

Gets the packet size in bytes associated with a ConnectionInfo object.

System_CAPS_pubproperty Password

Gets the password associated with the ConnectionInfo object.

System_CAPS_pubproperty Port

Gets the port number associated with the ConnectionInfo object.

System_CAPS_pubproperty ProtectionLevel

Gets the protection level associated with a ConnectionInfo object.

System_CAPS_pubproperty ProtocolFormat

Gets the protocol format for the ConnectionInfo object.

System_CAPS_pubproperty RestrictCatalog

Do not reference this member directly in your code. It supports the Analysis Services infrastructure.

System_CAPS_pubproperty Server

Gets the server name associated with a ConnectionInfo object.

System_CAPS_pubproperty Sspi

Gets the name of the SSPI package to use during the authentication process of the connection.

System_CAPS_pubproperty Timeout

Gets the timeout value associated with the ConnectionInfo object.

System_CAPS_pubproperty TransportCompression

Gets the TransportCompression object element with the ConnectionInfo object.

System_CAPS_pubproperty UseExistingFile

Gets the Boolean status of use existing file property of the ConnectionInfo object.

System_CAPS_pubproperty UserID

Gets the user identifier associated with the ConnectionInfo object.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.AnalysisServices Namespace

Return to top