RemoveProgram method of the Win32_TSVirtualIP class

Removes a program from the list of programs that use IP virtualization.

Syntax

uint32 RemoveProgram(
  [in] string ProgramPath
);

Parameters

ProgramPath [in]

Type: string

The path and file name of the program to remove from the list. If the program is not found, an error is returned.

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
Header
Bdaiface.h
MOF
TSCfgWmi.mof
DLL
TSCfgWmi.dll

See also

Win32_TSVirtualIP