SearchScope Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The search scope when calling FindMemberAsync(Func<Member,Task<Boolean>>, SearchScope, CancellationToken) and FindAllMembersAsync(Func<Member,Task<Boolean>>, SearchScope, CancellationToken).
The search scope is a flagged enum and it can be combined with |
.
For example, to search from personal chat and group chat, use SearchScope.Person | SearchScope.Group
.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum SearchScope
[<System.Flags>]
type SearchScope =
Public Enum SearchScope
- Inheritance
-
SearchScope
- Attributes
Fields
Name | Value | Description |
---|---|---|
Person | 1 | Search members from the installations in personal chat only. |
Group | 2 | Search members from the installations in group chat only. |
Channel | 4 | Search members from the installations in Teams channel only. |
All | 7 | Search members from all installations including personal chat, group chat and Teams channel. |