WindowsTaskCredentials Constructor
[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.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.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
Windows Server 2008,Windows Server 2003
See Also
Reference
WindowsTaskCredentials Class
WindowsTaskCredentials Members
Microsoft.EnterpriseManagement.Configuration Namespace