WMIConn 생성자 (Boolean, String, String)
Initializes a new instance of the WMIConn class, initializing the authentication mode, user name, and password.
네임스페이스: Microsoft.SqlServer.Dts.ManagedConnections
어셈블리: Microsoft.SqlServer.ManagedConnections(Microsoft.SqlServer.ManagedConnections.dll)
구문
‘선언
Public Sub New ( _
bUseNtAuth As Boolean, _
UserName As String, _
Password As String _
)
‘사용 방법
Dim bUseNtAuth As Boolean
Dim UserName As String
Dim Password As String
Dim instance As New WMIConn(bUseNtAuth, _
UserName, Password)
public WMIConn(
bool bUseNtAuth,
string UserName,
string Password
)
public:
WMIConn(
bool bUseNtAuth,
String^ UserName,
String^ Password
)
new :
bUseNtAuth:bool *
UserName:string *
Password:string -> WMIConn
public function WMIConn(
bUseNtAuth : boolean,
UserName : String,
Password : String
)
매개 변수
- bUseNtAuth
유형: System. . :: . .Boolean
A Boolean that specifies whether the connection manager uses Windows Authentication. true if Windows Authentication is used.
- UserName
유형: System. . :: . .String
The user name that the connection manager uses.
- Password
유형: System. . :: . .String
The password that the connection manager uses.