property EnableNetworkConnection.
Enables or Disables a Network Connection Name from
within a computer.
|
connectionName
[in] . Network Connection Name which must be retrieved from GetNetworkConnectionList(…)
Enable
[in,defaultvalue(1)] . 0 to disable, 1 to enable the
Network Connection.
pVal
[out, retval] . 0 if succeeded, other value if
failed.
S_OK
The operation was successfull.
E_POINTER
A NULL pointer was supplied as an argument.
E_UNEXPECTED
An unexpected error occoured.