Share via


SqlOlapConnectionInfoBase Constructor (String, ConnectionType)

Initializes a new instance of the SqlOlapConnectionInfoBase class.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Protected Sub New ( _
    serverName As String, _
    serverType As ConnectionType _
)
'Usage
Dim serverName As String 
Dim serverType As ConnectionType 

Dim instance As New SqlOlapConnectionInfoBase(serverName, _
    serverType)
protected SqlOlapConnectionInfoBase(
    string serverName,
    ConnectionType serverType
)
protected:
SqlOlapConnectionInfoBase(
    String^ serverName, 
    ConnectionType serverType
)
new : 
        serverName:string * 
        serverType:ConnectionType -> SqlOlapConnectionInfoBase
protected function SqlOlapConnectionInfoBase(
    serverName : String, 
    serverType : ConnectionType
)

Parameters

  • serverName
    Type: String
    A String value that specifies the instance of SQL Server.

See Also

Reference

SqlOlapConnectionInfoBase Class

SqlOlapConnectionInfoBase Overload

Microsoft.SqlServer.Management.Common Namespace