microsoft.exchange.webservices.data
Enum ResolveNameSearchLocation

java.lang.Object
  extended by java.lang.Enum<ResolveNameSearchLocation>
      extended by microsoft.exchange.webservices.data.ResolveNameSearchLocation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResolveNameSearchLocation>

public enum ResolveNameSearchLocation
extends java.lang.Enum<ResolveNameSearchLocation>

Defines the location where a ResolveName operation searches for contacts.


Enum Constant Summary
ContactsOnly
          The Contacts only.
ContactsThenDirectory
          The Contacts then directory.
DirectoryOnly
          The Directory only.
DirectoryThenContacts
          The Directory then contacts.
 
Method Summary
static ResolveNameSearchLocation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ResolveNameSearchLocation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DirectoryOnly

public static final ResolveNameSearchLocation DirectoryOnly
The Directory only.


DirectoryThenContacts

public static final ResolveNameSearchLocation DirectoryThenContacts
The Directory then contacts.


ContactsOnly

public static final ResolveNameSearchLocation ContactsOnly
The Contacts only.


ContactsThenDirectory

public static final ResolveNameSearchLocation ContactsThenDirectory
The Contacts then directory.

Method Detail

values

public static ResolveNameSearchLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ResolveNameSearchLocation c : ResolveNameSearchLocation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ResolveNameSearchLocation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null