Freigeben über


IPMServiceInfo:IDispatch (Windows CE 5.0)

Send Feedback

This interface provides the ability to access and change a specified service information object. The service information object is accessed from the IPMServiceCategory interface.

The following code sample shows one technique for accessing a service information object from an Automation client.

Dim tServiceInfo as Object
Set tServiceInfo = tServiceCategory.GetServiceInfo( <params> )

The following table shows this interface's methods.

Method Description
IPMServiceInfo::Id Retrieves the service class identifier associated with the service information object.
IPMServiceInfo::Name Obtains or sets the name of the service information object.
IPMServiceInfo::EnumProperties Enumerates the properties associated with the service information object.
IPMServiceInfo::GetProperty Obtains a property object for a specified bstrPropId element.
IPMServiceInfo::AddProperty Adds a property object to the IPMServiceInfo interface and returns this object.
IPMServiceInfo::DeleteProperty Deletes the property object corresponding to a specified bstrPropId element.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Serviceinfo.h, Cemgr.idl.

See Also

IPMServiceCategory

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.