Construtor SqlOlapConnectionInfoBase (String, String, String, ConnectionType)
Inicializa uma nova instância da classe SqlOlapConnectionInfoBase.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Public Sub New ( _
serverName As String, _
userName As String, _
password As String, _
serverType As ConnectionType _
)
'Uso
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
)
Parâmetros
- serverName
Tipo: String
Um valor String que especifica a instância do SQL Server.
- userName
Tipo: String
Um valor String que especifica o nome do usuário.
- password
Tipo: String
Um valor String que especifica a senha.
- serverType
Tipo: Microsoft.SqlServer.Management.Common.ConnectionType
Um valor do objeto ConnectionType que especifica o tipo de conexão.
Consulte também
Referência
SqlOlapConnectionInfoBase Classe