Webmasters, gagnez de l'argent en affichant des bannières contextuelles Oxado
SourceForge.net Logo
Support This Project Free Downloads
WABAccess Project
Welcome ! [ Home ]  ·  [ Downloads ]  ·  [ Forums ]  ·  [ News ]  ·  [ Documentations ]  
[ Home ]

[ Documentations ]

NewOneOff Method


The NewOneOff method create a new OneOff object.

Syntax :

Set objNewOneOff = objMembers.NewOneOff( DisplayName, EmailAddress [, AddressType] [, createFlag] )

Applies To : Members

Parameters :
Name Type In / Out Required / Optional Description
DisplayName String In Required This parameter is the PR_DISPLAY_NAME of the new OneOff object.
EmailAddress String In Required This parameter is the PR_EMAIL_ADDRESS of the new OneOff object.
AddressType String In Optional This parameter is the PR_ADDRTYPE of the new OneOff object. By default the value is "SMTP".
createFlag enumCreateFlag In Optional Value of type enumCreateFlag specifying the bitmask that controls the level of duplicate entries. The following flags may be set:
  • createNoCheck (default) : Indicates no check is made for duplicate entry
  • createCheckDupLoose : Indicates a loose level should be used for duplicate entry checking, which returns more matches than setting a strict level with the createCheckDupStrict flag. For example, a provider can define a loose match as any two entries having the same display name, while defining a strict match as any two entries having the same display name and messaging address.
  • createCheckDupStrict : Indicates a strict level should be used for duplicate entry checking, which returns fewer matches than setting a loose level with the createCheckDupLoose flag.
  • createReplace : Indicates that duplicate entries replace existing entries within a container.
Return Value :

On successful return, contains the new OneOff object.

Details :
Example :
Dim objMyOneOff, objMyDl

Set objMyOneOff = objMyDl.Members.NewOneOff( "John SMITH", "john.smith@society.com" )

WABAccess