SqlOlapConnectionInfoBase 建構函式 (String, ConnectionType)
Initializes a new instance of the SqlOlapConnectionInfoBase class.
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Protected Sub New ( _
serverName As String, _
serverType As ConnectionType _
)
'用途
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
)
參數
- serverName
型別:System.String
A String value that specifies the instance of SQL Server.
- serverType
型別:Microsoft.SqlServer.Management.Common.ConnectionType
A ConnectionType object value that specifies the type of connection.