3.2.4.8.10 TaskRunAsSelf (Put) (Opnum 41)
The TaskRunAsSelf (Put) method sets the TaskRunAsSelf property, as specified in the property table in section 3.2.4.8.
-
[propput] HRESULT TaskRunAsSelf( [in] VARIANT_BOOL RunAsSelf );
RunAsSelf: Supplies a Boolean indicating whether or not TaskRunAsSelf is enabled.
Return Values: This method MUST return an HRESULT with the severity bit clear on success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.