WindowsTaskCredentials Constructor (String, String, SecureString)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Initializes a new WindowsTaskCredentials object.
Namespace: Microsoft.EnterpriseManagement.Runtime
Assembly: Microsoft.EnterpriseManagement.Runtime (in Microsoft.EnterpriseManagement.Runtime.dll)
Usage
'Usage
Dim domain As String
Dim username As String
Dim password As SecureString
Dim instance As New WindowsTaskCredentials(domain, username, password)
Syntax
'Declaration
Public Sub New ( _
domain As String, _
username As String, _
password As SecureString _
)
public WindowsTaskCredentials (
string domain,
string username,
SecureString password
)
public:
WindowsTaskCredentials (
String^ domain,
String^ username,
SecureString^ password
)
public WindowsTaskCredentials (
String domain,
String username,
SecureString password
)
public function WindowsTaskCredentials (
domain : String,
username : String,
password : SecureString
)
Parameters
- domain
The domain of the user.
- username
The user name.
- password
A SecureString that contains the password.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
WindowsTaskCredentials Class
WindowsTaskCredentials Members
Microsoft.EnterpriseManagement.Runtime Namespace