SetAllowDwm method of the Win32_TSClientSetting class
Sets the AllowDwm property.
Syntax
uint32 SetAllowDwm(
[in] uint32 AllowDwm
);
Parameters
-
AllowDwm [in]
-
The new AllowDwm property value.
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. The method returns an error if the user's connection settings are overridden by the server.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2 |
End of client support |
None supported |
End of server support |
Windows Server 2008 R2 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|