IUserSettingsManagement.GetUserTask(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.