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 |
|
MOF |
|
DLL |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for