SetEnabled method of the Win32_SessionDirectoryVMMPlugin class
Enables or disables the plug-in.
Syntax
uint32 SetEnabled(
[in] boolean Enabled
);
Parameters
-
Enabled [in]
-
Indicates whether the plug-in is enabled or disabled. True if the plug-in is enabled or false otherwise.
Return value
Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|