Disable method of the Win32_NetworkAdapter class
The Disable method disables the network adapter.
Syntax
uint32 Disable();
Parameters
This method has no parameters.
Return value
Returns zero (0) to indicate success. Any other number indicates an error. For error codes, see WMI Error Constants or WbemErrorEnum.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|