Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This interface provides the ability to access and change a specified service category object. The service category object is accessed by the IPMPlatformManager::EnumServiceCategories method.
The following code sample shows one technique for accessing a service category object from an Automation client.
Dim tServiceCategory as Object
For Each tServiceCategory in tPlatman.EnumServiceCategories
' Access the service category object here.
Next tServiceCategory
The following code sample shows a second technique for accessing a service category object from an Automation client.
Dim nIndex as Integer
For nIndex = 1 to tPlatman.EnumServiceCategories.Count
Set tServiceCategory = tPlatman.EnumServiceCategories.Item(nIndex)
' Access the service category object here.
Next
The following table shows this interface's methods.
Method | Description |
---|---|
IPMServiceCategory::Id | Retrieves the GUID associated with the service category object. |
IPMServiceCategory::Name | Obtains or sets the name of the service category object. |
IPMServiceCategory::EnumServiceInfos | Enumerates the service information objects associated with the service category. |
IPMServiceCategory::GetServiceInfo | Obtains a service information object for a specified bstrServiceIdOrName element. |
IPMServiceCategory::AddServiceInfo | Adds a service information object based on a service category to the service category. |
IPMServiceCategory::DeleteServiceInfo | Deletes a service information object corresponding to a specified bstrServiceIdOrName element. |
IPMServiceCategory::EnumProperties | Enumerates the properties associated with the service category object. |
IPMServiceCategory::GetProperty | Obtains a property object for a specified bstrPropId element. |
IPMServiceCategory::AddProperty | Adds a property object to the IPMServiceCategory interface and returns this object. |
IPMServiceCategory::DeleteProperty | Deletes the property object corresponding to a specified bstrPropId element. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Servicecategory.h, Cemgr.idl.
See Also
IPMPlatformManager::EnumServiceCategories
Send Feedback on this topic to the authors