SearchLocation Enumeration
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
An enumeration used to indicate where to search for entity.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly: Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration SearchLocation
'Usage
Dim instance As SearchLocation
[FlagsAttribute]
public enum SearchLocation
[FlagsAttribute]
public enum class SearchLocation
Members
Member name | Description | |
---|---|---|
None | Default value to enforce location to be set explicitly.
If use search will fail. This value must be checked directly and not used with HasFlags method. |
|
Local | Search in local database. | |
Remote | Search via transaction service. | |
All | Search in all available locations. |