vbMAPI Outlook/MAPI Code Library
(v1.16.3)
- QuickStart: Installation
- QuickStart: The basics
- Code Examples
- Tips for C#
- Tips for VB.NET
- Examples: Profile Administration
- ref: vbMAPI_Session
- ref: vbMAPI_Options
- ref: vbMAPI_Accounts
- ref: vbMAPI_Account
- ref: vbMAPI_Stores
- ref: vbMAPI_Store
- ref: vbMAPI_Folder
- ref: vbMAPI_Folders
- ref: vbMAPI_FolderItems
- ref: vbMAPI_ContactItem
- ref: vbMAPI_AppointmentItem
- ref: vbMAPI_MailItem
- ref: vbMAPI_Properties
- ref: vbMAPI_Property
- ref: vbMAPI_Recipients
- ref: vbMAPI_Recipient
- ref: vbMAPI_Attachments
- ref: vbMAPI_Attachment
- ref: vbMAPI_EncodedBody
- ref: vbMAPI_Profiles
- ref: vbMAPI_Profile
- ref: vbMAPI_ProfileProviders
- ref: vbMAPI_ProfileProvider
- ref: vbMAPI_ProfileProviderConfig
- ref: vbMAPI_ProfileServices
- ref: vbMAPI_ProfileService
- ref: vbMAPI_ProfileServiceConfig
- ref: vbMAPI_OutlookSignatures
- ref: vbMAPI_OutlookSignature
- ref: vbMAPI_AddressBook
- ref: vbMAPI_AddressLists
- ref: vbMAPI_AddressList
- ref: vbMAPI_AddressEntries
- ref: vbMAPI_AddressEntry
ref: vbMAPI_ProfileService
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