SetProgramList method of the Win32_TSVirtualIP class

Overwrites the list of programs that use IP virtualization.

Syntax

unint32 SetProgramList(
  [in] string ProgramList[]
);

Parameters

ProgramList [in]

Type: string[]

An array of strings that contain the path and file names of the programs that use IP virtualization.

Return value

Type: unint32

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
TSCfgWmi.mof
DLL
TSCfgWmi.dll

See also

Win32_TSVirtualIP