EnableQuarantine Method of the Win32_TSGatewayServerSettings Class
Enables or disables quarantine for the Terminal Services Gateway Service.
uint32 EnableQuarantine(
[in] boolean QuarantineEnabled
);
Parameters
- QuarantineEnabled
Specifies whether quarantine should be enabled.
Return Value
If the method succeeds, it returns zero. If the method is unsuccessful, it returns a nonzero value. For a list of error codes, see Terminal Services WMI Provider Error Codes.
Remarks
You must be a member of the Administrators group to call this method.
Requirements
MOF |
Declared in TSGateway.mof. |
Namespace |
Defined in \\.\Root\CIMv2. |
See Also
Send comments about this topic to Microsoft
Build date: 9/5/2007