|
wstring SubnetMasks::CreateSubnet |
( |
params |
pSubnetSettings | ) |
|
Create subnet for current server with specific parameters
- Parameters:
-
pSubnetSettings | Subnet parameters (paramParams).
- "nIpAddress" (paramLong) - Subnet IP
- "nMask" (paramLong) - Subnet mask
- "wstrSubnetName" (paramString) - Subnet name (not empty, maximum 100 unicode symbols)
- "wstrComment" (paramString, optional) - Subnet description
|
- Returns:
- Real subnet name: if subnet with specified name already exist - new subnet renamed with repaired suffix name
- Exceptions:
-
Throw | exception if subnet (ip-mask pair) already exists or if subnet (ip-mask pair) not correct |
|