Service object

 

Service object represents a single MAPI service in a profile. A service can contain multiple providers.

 

Returned by:

Services.Item

Services.Add

 

Properties

Methods

 


Derived from: IDispatch


Properties


DisplayName Display name of the service, read/write.
 
DLLName The name of the dll that implements the service, e.g. "mspst.dll"
 
ProfSect ProfSect object used to store the service properties.
 
Providers Service's providers collection (Providers).
 
ResourceFlags Resource flags, integer, read only. See PR_RESOURCE_FLAGS on MSDN for a description of the possible values
 
ServiceEntryName The name of the function from the service dll which contains its entry point
 
ServiceName The name of the service. Read only
 
ServiceSupportFiles An array of strings with the names of all the files required for the service
 
UID Service UI. Used to unique identity the service in the profile.  

Methods


Configure
(ShowUI, wndParentWindow, objProperties)
Configures the service.

ShowUI must either be 0 (never), 1 (allowed if necessary) or 2 (always).

wndParentWindow is the handle of a window which serves as a parent of a dialog the service might show

objProperties - PropertyBag object (creatable). A collection of properties used to configure the service.