[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

Visual Basic
Dim domain As String
Dim userName As String
Dim password As SecureString

Dim instance As New WindowsTaskCredentials(domain, userName, password)

Syntax

Visual Basic
Public Sub New ( _
		domain As String, _
		userName As String, _
		password As SecureString _
)
C#
public WindowsTaskCredentials (
		string domain,
		string userName,
		SecureString password
)
C++
public:
WindowsTaskCredentials (
		String^ domain, 
		String^ userName, 
		SecureString^ password
)
J#
public WindowsTaskCredentials (
		String domain, 
		String userName, 
		SecureString password
)
JScript
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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also