SearchScope Enum

Definition

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

All 7

Search members from all installations including personal chat, group chat and Teams channel.

Channel 4

Search members from the installations in Teams channel only.

Group 2

Search members from the installations in group chat only.

Person 1

Search members from the installations in personal chat only.

Applies to