IUpdateServer.GetDynamicCategories Method (Int64, Int64, Nullable<DynamicCategoryType>, Nullable<Boolean>, Nullable<DateTime>)
Applies To: Windows Server Update Services
Returns a specified number of categories that satisfy the filter criteria.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
IEnumerable<IDynamicCategory> GetDynamicCategories(
long skip,
long take,
Nullable<DynamicCategoryType> type,
Nullable<bool> isUpdateSyncEnabled,
Nullable<DateTime> addedOnOrAfter
)
IEnumerable<IDynamicCategory^>^ GetDynamicCategories(
long long skip,
long long take,
Nullable<DynamicCategoryType> type,
Nullable<bool> isUpdateSyncEnabled,
Nullable<DateTime> addedOnOrAfter
)
abstract GetDynamicCategories :
skip:int64 *
take:int64 *
type:Nullable<DynamicCategoryType> *
isUpdateSyncEnabled:Nullable<bool> *
addedOnOrAfter:Nullable<DateTime> -> IEnumerable<IDynamicCategory>
Function GetDynamicCategories (
skip As Long,
take As Long,
type As Nullable(Of DynamicCategoryType),
isUpdateSyncEnabled As Nullable(Of Boolean),
addedOnOrAfter As Nullable(Of Date)
) As IEnumerable(Of IDynamicCategory)
Parameters
skip
Type: System.Int64The number of categories to skip before returning the remaining categories.
take
Type: System.Int64The maximum number of categories to return.
type
Type: System.Nullable<DynamicCategoryType>The type of dynamic categories to return.
isUpdateSyncEnabled
Type: System.Nullable<Boolean>The update sync status of categories that are to be returned.
addedOnOrAfter
Type: System.Nullable<DateTime>The time and date on or after which the category was added to the WSUS server.
Return Value
Type: System.Collections.Generic.IEnumerable<IDynamicCategory>
Up to the specified number of categories that satisfy the filter criteria depending on the number of categories on the server.
See Also
GetDynamicCategories Overload
IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace
Return to top