SqlOlapConnectionInfoBase Constructor (String, String, String, ConnectionType)
Initializes a new instance of the SqlOlapConnectionInfoBase class.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
语法
声明
Public Sub New ( _
serverName As String, _
userName As String, _
password As String, _
serverType As ConnectionType _
)
public SqlOlapConnectionInfoBase (
string serverName,
string userName,
string password,
ConnectionType serverType
)
public:
SqlOlapConnectionInfoBase (
String^ serverName,
String^ userName,
String^ password,
ConnectionType serverType
)
public SqlOlapConnectionInfoBase (
String serverName,
String userName,
String password,
ConnectionType serverType
)
public function SqlOlapConnectionInfoBase (
serverName : String,
userName : String,
password : String,
serverType : ConnectionType
)
参数
- serverName
A String value that specifies the instance of SQL Server.
- userName
A String value that specifies the user name.
- password
A String value that specifies the password.
- serverType
A ConnectionType object value that specifies the type of connection.
备注
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
SqlOlapConnectionInfoBase Class
SqlOlapConnectionInfoBase Members
Microsoft.SqlServer.Management.Common Namespace