---
title: "MDQueryGetBatchingParameters(_:)"
framework: coreservices
role: symbol
role_heading: Function
path: coreservices/1413006-mdquerygetbatchingparameters
---

# MDQueryGetBatchingParameters(_:)

Returns the current parameters that control the batching of progress notifications.

## Declaration

```swift
func MDQueryGetBatchingParameters(_ query: MDQuery!) -> MDQueryBatchingParams
```

## Parameters

- `query`: The query.

## Return Value

Return Value An MDQueryBatchingParams structure with the current batching parameters.

## See Also

### Getting and Setting Query Parameters

- [MDQuerySetMaxCount(_:_:)](coreservices/1413085-mdquerysetmaxcount.md)
- [MDQuerySetBatchingParameters(_:_:)](coreservices/1413103-mdquerysetbatchingparameters.md)
- [MDQueryCopyValueListAttributes(_:)](coreservices/1413071-mdquerycopyvaluelistattributes.md)
- [MDQueryCopySortingAttributes(_:)](coreservices/1413059-mdquerycopysortingattributes.md)
- [MDQueryCopyQueryString(_:)](coreservices/1413004-mdquerycopyquerystring.md)
