IUserSettingsManagement.GetUserTask(String) Method

Definition

Gets a user task that matches the name.

public:
 Microsoft::EnterpriseManagement::UserInfo::UserTask ^ GetUserTask(System::String ^ name);
public Microsoft.EnterpriseManagement.UserInfo.UserTask GetUserTask (string name);
abstract member GetUserTask : string -> Microsoft.EnterpriseManagement.UserInfo.UserTask
Public Function GetUserTask (name As String) As UserTask

Parameters

name
String

Type: String

The name of the user task.

Returns

Type: UserTask

The user task.

Exceptions

The name parameter is a null reference (Nothing in Visual Basic).

The name parameter is empty.

The UserTask that is identified by the name parameter was not found.

Applies to