Share via


Constructeur SqlOlapConnectionInfoBase (String, ConnectionType)

Initializes a new instance of the SqlOlapConnectionInfoBase class.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Protected Sub New ( _
    serverName As String, _
    serverType As ConnectionType _
)
'Utilisation
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
)

Paramètres