vbMAPI Outlook/MAPI Code Library
(v1.16.0)

ref: vbMAPI_ProfileService

On this page you'll find:

Class Description

This object is a wrapper for the MAPI IProfSect object.


Property Get Properties() As vbMAPI_Properties

Exposes a collection of the MAPI properties set on this profile service.  The default member of the vbMAPI_Properties class is Item, therefore in VB you can call vbMAPI_ProfileService.Properties(PropTag) directly.

Property Get NamedProperties(ByVal PropertySetGUID As String, _
              ByVal ID As Variant, _
              ByVal DataType As EnumMAPIPropDataTypes) As vbMAPI_Property

Provides access to MAPI named properties for this MailItem.

PropertySetGUID: A string representation of the property set GUID (e.g. )
ID: The name (string) or property identifier (integer) representing the property to query from the property set.
DataType: The MAPI data type of the property.

Property Get DisplayName() As String

Property Let DisplayName(ByVal NewName As String)

Returns/sets the value of the MAPI property PR_DISPLAY_NAME from this service.

Property Get ServiceName() As String

Returns the value of the MAPI property PR_SERVICE_NAME from this profile service.

Property Get ServiceEntryName() As String

Returns the value of the MAPI property PR_SERVICE_ENTRY_NAME from this profile service.

Property Get ServiceDLLName() As String

Returns the value of the MAPI property PR_SERVICE_DLL_NAME from this profile service.

Property Get ServiceSupportFiles() As String

Returns the value of the MAPI property PR_SERVICE_SUPPORT_FILES from this profile service.

Property Get ResourceFlags() As Long

Returns the value of the MAPI property PR_RESOURCE_FLAGS from this profile service.

Property Get Session() As vbMAPI_Session

Returns the session object associated with this object.

Property Get Parent() As vbMAPI_ProfileServices

Returns the parent Services collection associated with this service.

Property Get Profile() As vbMAPI_Profile

Returns the parent Profile object associated with this service.

Property Get Configure() As vbMAPI_ProfileServiceConfig

Returns a configuration object which can be used to configure this service.

Sub Delete()

Deletes this service from the services collection.

Property Get Providers() As vbMAPI_ProfileProviders

Returns a collection of providers that have been configured for this service.

Property Get UID() As String

Returns the unique ID associated with this service - PR_SERVICE_UID.


Enumeration description: EnumShowUI


ShowUI_Never = &H0
ShowUI_IfNecessary = &H1
ShowUI_Always = &H2