ModuleBaseListChildServices Method |
Lists the child services.
Namespace: Atomia.Provisioning.Base.ModuleAssembly: Atomia.Provisioning.Base.Module (in Atomia.Provisioning.Base.Module.dll) Version: 17.3.6337.16009
Syntaxpublic virtual List<ModuleService> ListChildServices(
ModuleService parentService,
ResourceDescription resource,
string serviceName,
int pageNumber,
int pageSize,
bool sortAsc,
out int totalServiceNumber
)
Public Overridable Function ListChildServices (
parentService As ModuleService,
resource As ResourceDescription,
serviceName As String,
pageNumber As Integer,
pageSize As Integer,
sortAsc As Boolean,
<OutAttribute> ByRef totalServiceNumber As Integer
) As List(Of ModuleService)
public:
virtual List<ModuleService^>^ ListChildServices(
ModuleService^ parentService,
ResourceDescription^ resource,
String^ serviceName,
int pageNumber,
int pageSize,
bool sortAsc,
[OutAttribute] int% totalServiceNumber
)
abstract ListChildServices :
parentService : ModuleService *
resource : ResourceDescription *
serviceName : string *
pageNumber : int *
pageSize : int *
sortAsc : bool *
totalServiceNumber : int byref -> List<ModuleService>
override ListChildServices :
parentService : ModuleService *
resource : ResourceDescription *
serviceName : string *
pageNumber : int *
pageSize : int *
sortAsc : bool *
totalServiceNumber : int byref -> List<ModuleService>
Parameters
- parentService
- Type: Atomia.Provisioning.Base.ModuleModuleService
The parent service. If parent service is null module will return root services. - resource
- Type: Atomia.Provisioning.BaseResourceDescription
The resource description for which resource we are listing child services. - serviceName
- Type: SystemString
Name of the service. If the service name is empty or null all child services will be listed. - pageNumber
- Type: SystemInt32
The page number. - pageSize
- Type: SystemInt32
Size of the page. If this value is 0 all items will be returned. - sortAsc
- Type: SystemBoolean
If this argument is set to true services will sorted in ascending order (by name). - totalServiceNumber
- Type: SystemInt32
The total service number.
Return Value
Type:
ListModuleService
List of services that fulfill given criteria.
See Also