SqlOlapConnectionInfoBase 构造函数 (String, String, String, ConnectionType)

Initializes a new instance of the SqlOlapConnectionInfoBase class.

命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)

语法

声明
Public Sub New ( _
    serverName As String, _
    userName As String, _
    password As String, _
    serverType As ConnectionType _
)
用法
Dim serverName As String 
Dim userName As String 
Dim password As String 
Dim serverType As ConnectionType 

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

参数

请参阅

参考

SqlOlapConnectionInfoBase 类

SqlOlapConnectionInfoBase 重载

Microsoft.SqlServer.Management.Common 命名空间