TwclNlmNetwork.SetCategory(TwclNlmNetworkCategory) Method
Sets the category of a network. Changes made take effect immediately. Administrative privileges are needed for this method.
public function SetCategory(const Category: TwclNlmNetworkCategory): Integer;
Parameters
- Category
- Type: TwclNlmNetworkCategory
Specifies the new category of the network.
Return Value
Type: Integer
If the function succeeded the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.