Konstruktor SqlOlapConnectionInfoBase (String, String, String, ConnectionType)
Inicjuje nowe wystąpienie SqlOlapConnectionInfoBase klasy
Przestrzeń nazw: Microsoft.SqlServer.Management.Common
Zestaw: Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)
Składnia
'Deklaracja
Public Sub New ( _
serverName As String, _
userName As String, _
password As String, _
serverType As ConnectionType _
)
'Użycie
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
)
Parametry
- serverName
Typ: System.String
A String wartość określająca wystąpienie SQL Server.
- userName
Typ: System.String
A String wartość, która określa nazwę użytkownika.
- password
Typ: System.String
A String wartość, która określa hasło.
- serverType
Typ: Microsoft.SqlServer.Management.Common.ConnectionType
A ConnectionType wartość obiektu, który określa typ połączenia.