SearchType Property  
 

Specify the type of query to be performed by the server.

Syntax

object.SearchType [= value ]

Remarks

The SearchType property specifies the default type of query to be performed by the server using the Search method. The following table lists the types of searches that may be performed:

Value Constant Description
1 whoisSearchAny Search for any value that matches the given keyword value
2 whoisSearchHandle Search for a handle that matches the given keyword value
3 whoisSearchName Search for a user name that matches the given keyword value
4 whoisSearchMailbox Search for a user mailbox that matches the given keyword value

If you wish to perform a more complex query using the syntax outlined in RFC 954, specify a search type of whoisSearchAny and then provide the search string value that you want to submit.

Data Type

Integer (Int32)

See Also

Keyword Property, Connect Method, Search Method