ITaskScheduler::SetTargetComputerITaskScheduler::SetTargetComputer*
*Contents  *Index  *Topic Contents
*Previous Topic: ITaskScheduler::NewWorkItem
*Next Topic: ITask

ITaskScheduler::SetTargetComputer

HRESULT SetTargetComputer(
    LPCWSTR pwszComputer
);

Selects the computer that the ITaskScheduler interface operates on. This allows remote task management and enumeration. The user must have administrative access on the remote computer to use this method. For more information on remote installation requirements, refer to Mstask.hlp.

pwszComputer
LPCWSTR that specifies the target computer for the current task. The computer name indicates that the local computer is the target computer; set this value to NULL or to the local computer's Universal Naming Convention (UNC) name.

Back to top


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.