Specify the keyword to search for.
Syntax
object.Keyword [= value ]
Remarks
The Keyword property specifies the value used when querying
the server. The keyword may refer to a handle, a user name or
a mailbox name. Setting this property provides the default keyword
for the Search method.
Keywords may contain special characters that instruct the server
how to match the value. These values are outlined in RFC 954, the
standards document that describes the WHOIS/NICNAME protocol. These
forms are typically recognized:
Example |
Description |
value |
Search for value as either a user name or a handle |
value... |
Search for value that matches anything up to that
point |
!value |
Search for a handle that matches the given value |
last, first |
Search for the specified name |
user@ |
Search for mailboxes with the given user name |
@host |
Search for mailboxes on the specified host |
user@host |
Search for mailboxes for the user on the specified
host |
If the keyword uses any of these special forms, the
SearchType property must be set to whoisSearchAny,
which tells the control not to modify the keyword value when
submitting the query to the server. Note that all keyword forms may
not be supported by a given server, and additional types of searches
may be supported.
Data Type
String
See Also
SearchType Property,
Connect Method,
Search Method
|