Конструктор 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.