Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the WMIConn class, initializing the authentication mode, user name, and password.
Namespace: Microsoft.SqlServer.Dts.ManagedConnections
Assembly: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)
Syntax
'Declaration
Public Sub New ( _
bUseNtAuth As Boolean, _
UserName As String, _
Password As String _
)
public WMIConn (
bool bUseNtAuth,
string UserName,
string Password
)
public:
WMIConn (
bool bUseNtAuth,
String^ UserName,
String^ Password
)
public WMIConn (
boolean bUseNtAuth,
String UserName,
String Password
)
public function WMIConn (
bUseNtAuth : boolean,
UserName : String,
Password : String
)
Parameters
- bUseNtAuth
A Boolean that specifies whether the connection manager uses Windows Authentication. true if Windows Authentication is used.
- UserName
The user name that the connection manager uses.
- Password
The password that the connection manager uses.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
WMIConn Class
WMIConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace