SetVirtualIPMode method of the Win32_TSVirtualIP class
Sets the VirtualIPMode property value.
Syntax
uint32 SetVirtualIPMode(
[in] uint32 VirtualIPMode
);
Parameters
-
VirtualIPMode [in]
-
Type: uint32
Specifies which IP virtualization mode is being used on the server. This can be one of the following values.
-
0
-
The IP virtualization mode is per-session.
-
1
-
The IP virtualization mode is per-user.
Return value
Type: uint32
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 setting is under group policy control.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|