Конструктор 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
)
Параметры
- serverName
Тип: System. . :: . .String
A String value that specifies the instance of SQL Server.
- userName
Тип: System. . :: . .String
A String value that specifies the user name.
- password
Тип: System. . :: . .String
A String value that specifies the password.
- serverType
Тип: Microsoft.SqlServer.Management.Common. . :: . .ConnectionType
A ConnectionType object value that specifies the type of connection.