IServiceManagerSetAddressGroupsForService Method |
[This is preliminary documentation and is subject to change.]
Sets what address groups a service should belong to
Will clear all existing groups before adding
Namespace: Netadmin.Management.ProvisioningAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntaxvoid SetAddressGroupsForService(
long serviceId,
IEnumerable<long> addressGroupIds
)
Sub SetAddressGroupsForService (
serviceId As Long,
addressGroupIds As IEnumerable(Of Long)
)
Parameters
- serviceId
- Type: SystemInt64
The service to add - addressGroupIds
- Type: System.Collections.GenericIEnumerableInt64
The address groups
ExceptionsException | Condition |
---|
ArgumentNullException | addressGroupIds is |
See Also