OlapServerType Class

Implements the interfaces for the connection dialog box for the Analysis Server connections.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.UI.ConnectionDlg.OlapServerType

Namespace:  Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly:  ConnectionDlg (in ConnectionDlg.dll)

Syntax

'Declaration
<AdvancedViewHelpKeyWordAttribute("sql11.swb.connecttoas.login.f1")> _
<HelpKeyWordAttribute("sql11.swb.connection.login.analysisserver.f1")> _
<CLSCompliantAttribute(False)> _
<RegisterServerHelpKeyWordAttribute("sql11.swb.registerserver.general.analysisservices.f1")> _
Public Class OlapServerType _
    Implements IServerType, IConnectionValidator
'Usage
Dim instance As OlapServerType
[AdvancedViewHelpKeyWordAttribute("sql11.swb.connecttoas.login.f1")]
[HelpKeyWordAttribute("sql11.swb.connection.login.analysisserver.f1")]
[CLSCompliantAttribute(false)]
[RegisterServerHelpKeyWordAttribute("sql11.swb.registerserver.general.analysisservices.f1")]
public class OlapServerType : IServerType, 
    IConnectionValidator
[AdvancedViewHelpKeyWordAttribute(L"sql11.swb.connecttoas.login.f1")]
[HelpKeyWordAttribute(L"sql11.swb.connection.login.analysisserver.f1")]
[CLSCompliantAttribute(false)]
[RegisterServerHelpKeyWordAttribute(L"sql11.swb.registerserver.general.analysisservices.f1")]
public ref class OlapServerType : IServerType, 
    IConnectionValidator
[<AdvancedViewHelpKeyWordAttribute("sql11.swb.connecttoas.login.f1")>]
[<HelpKeyWordAttribute("sql11.swb.connection.login.analysisserver.f1")>]
[<CLSCompliantAttribute(false)>]
[<RegisterServerHelpKeyWordAttribute("sql11.swb.registerserver.general.analysisservices.f1")>]
type OlapServerType =  
    class 
        interface IServerType 
        interface IConnectionValidator 
    end
public class OlapServerType implements IServerType, IConnectionValidator

The OlapServerType type exposes the following members.

Constructors

  Name Description
Public method OlapServerType Initializes a new instance of the OlapServerType class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field authCollection Defines the collection of AuthenticationInfo in the property.
Public fieldStatic member ConnectionTimeout Defines the constant string value for the connection timeout.
Public fieldStatic member Database Defines the constant string value for the database.
Public fieldStatic member EncryptConnection Defines the constant string value for the encrypt connection.
Public fieldStatic member ExecutionTimeout Defines the constant string value for the execution timeout.
Public fieldStatic member ExecutionTimeoutDisable Defines the constant string value for the execution timeout disable.
Public fieldStatic member InternetAuthenticationType Defines the constant integer value for the Internet Authentication type.
Protected fieldStatic member reqSize Defines the requested property size of the server.
Protected field serverInstanceName Returns a string value of the specified resource that represents the server instance name.
Protected field serverName Returns a string value of the specified resource that represents the server name.
Protected field serverRootName Returns a string value of the specified resource that represents the root name of the server.
Public fieldStatic member ServerType Initializes the specified server type by using a globally unique identifier.
Public fieldStatic member TrustedAuthenticationType Defines the constant integer value for the trusted authentication type.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IConnectionValidator.CheckConnection Checks if the newly opened connection should be returned to the calling application or should be bounced.
Explicit interface implemetationPrivate property IServerType.AuthenticationInfoCollection Gets a table that contains the authentication labels that are used to populate the simple view of the connection dialog box.
Explicit interface implemetationPrivate method IServerType.GenerateImage Raises the Image event to load the specified icon for the server.
Explicit interface implemetationPrivate method IServerType.GenerateUserControl Raises the UserControl event to generate the user control in the server.
Explicit interface implemetationPrivate method IServerType.GetConnectionObject Returns a new IDbConnection object that is based on the passed UIConnectionInfo object.
Explicit interface implemetationPrivate method IServerType.LoadPersonalizationInfo Loads any personalization information that was saved upon successful connection by using SavePersonalizationInfo. The personalization information is uniquely identified by a combination of server type, server name, authentication type, and user name.
Explicit interface implemetationPrivate method IServerType.ProceedWithConnection Indicates whether the connection can continue, or whether the connection dialog box should remain on the screen.
Explicit interface implemetationPrivate property IServerType.RequestedPropertySize Gets the requested size of the property.
Explicit interface implemetationPrivate method IServerType.SavePersonalizationInfo Saves personalization information that may be needed for subsequent uses of the connection dialog box, such as the server type, server name, authentication type, and user name.
Explicit interface implemetationPrivate property IServerType.ServerGroupName Gets the string value of the server group.
Explicit interface implemetationPrivate property IServerType.ServerInstanceName Gets the String value that represents the name of the server instance.
Explicit interface implemetationPrivate property IServerType.ServerType Gets the string value that represents the server type.
Explicit interface implemetationPrivate property IServerType.ServerTypeName Gets the String value that represents the name of the server type.

Top

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

Reference

Microsoft.SqlServer.Management.UI.ConnectionDlg Namespace