SetIGMPLevel method of the Win32_NetworkAdapterConfiguration class
The SetIGMPLevel WMI class static method is used to set the extent to which the system supports IP multicasting and participates in the Internet Group Management Protocol.
This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.
Syntax
uint32 SetIGMPLevel( [in] uint8 IGMPLevel );
Parameters
- IGMPLevel [in]
-
Data type: Integer
Sets the level at which the system supports IP multicast and participates in the Internet Group Management Protocol. At level 0, the system provides no multicast support. At level 1, the system may only send IP multicast packets. At level 2, the system may send IP multicast packets and fully participate in IGMP to receive multicast packets.
Value Meaning - 0
No Multicast
- 1
IP Multicast
- 2
IP and IGMP Multicast
Return value
| Return code | Description |
|---|---|
|
Successful completion, no reboot required. |
|
Successful completion, reboot required. |
|
Method not supported on this platform. |
|
Unknown failure. |
|
Invalid subnet mask. |
|
An error occurred while processing an instance that was returned. |
|
Invalid input parameter. |
|
More than five gateways specified. |
|
Invalid IP address. |
|
Invalid gateway IP address. |
|
An error occurred while accessing the registry for the requested information. |
|
Invalid domain name. |
|
Invalid host name. |
|
No primary or secondary WINS server defined. |
|
Invalid file. |
|
Invalid system path. |
|
File copy failed. |
|
Invalid security parameter. |
|
Unable to configure TCP/IP service. |
|
Unable to configure DHCP service. |
|
Unable to renew DHCP lease. |
|
Unable to release DHCP lease. |
|
IP not enabled on adapter. |
|
IPX not enabled on adapter. |
|
Frame or network number bounds error. |
|
Invalid frame type. |
|
Invalid network number. |
|
Duplicate network number. |
|
Parameter out of bounds. |
|
Access denied. |
|
Out of memory. |
|
Already exists. |
|
Path, file, or object not found. |
|
Unable to notify service. |
|
Unable to notify DNS service. |
|
Interface not configurable. |
|
Not all DHCP leases could be released or renewed. |
|
DHCP not enabled on adapter. |
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012