IUpdateServer.CreateDynamicCategory Method (String, DynamicCategoryType)
Applies To: Windows Server Update Services
Creates and initializes a new dynamic category object.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
IDynamicCategory CreateDynamicCategory(
string name,
DynamicCategoryType type
)
IDynamicCategory^ CreateDynamicCategory(
String^ name,
DynamicCategoryType type
)
abstract CreateDynamicCategory :
name:string *
type:DynamicCategoryType -> IDynamicCategory
Function CreateDynamicCategory (
name As String,
type As DynamicCategoryType
) As IDynamicCategory
Parameters
name
Type: System.StringThe name of the category.
type
Type: Microsoft.UpdateServices.Administration.DynamicCategoryTypeThe type of the category.
Return Value
Type: Microsoft.UpdateServices.Administration.IDynamicCategory
An initialized dynamic category object.
See Also
IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace
Return to top