ref: vbMAPI_ProfileProvider

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 ProviderDisplay() As String

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

    Property Get ProviderDllName() As String

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

    Property Get ServiceName() As String

    Returns the value of the MAPI property PR_SERVICE_NAME 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 ResourceType() As Long

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

    Property Get Session() As vbMAPI_Session

    Returns the session object associated with this object.

    Sub Delete()

    Deletes this provider from the collection of providers.

    Property Get UID() As String

    Returns the unique ID associated with this provider.