共用方式為


UserConsoleTask Constructor

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new UserConsoleTask object.

Namespace: Microsoft.EnterpriseManagement.UserInfo
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim name As String
Dim task As ManagementPackConsoleTask

Dim instance As New UserConsoleTask(name, task)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    task As ManagementPackConsoleTask _
)
public UserConsoleTask (
    string name,
    ManagementPackConsoleTask task
)
public:
UserConsoleTask (
    String^ name, 
    ManagementPackConsoleTask^ task
)
public UserConsoleTask (
    String name, 
    ManagementPackConsoleTask task
)
public function UserConsoleTask (
    name : String, 
    task : ManagementPackConsoleTask
)

Parameters

  • name
    The display name of the console task.
  • task
    The contained task of the console task.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

UserConsoleTask Class
UserConsoleTask Members
Microsoft.EnterpriseManagement.UserInfo Namespace