Share via


SearchOption Enum

Definition

Specifies the scope of metadata objects to be searched.

public enum class SearchOption
[System.Runtime.Serialization.DataContract(Name="SearchOption", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public enum SearchOption
[<System.Runtime.Serialization.DataContract(Name="SearchOption", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type SearchOption = 
Public Enum SearchOption
Inheritance
SearchOption
Attributes

Fields

Name Value Description
UserDefinedObjectsOnly 0

The scope of the search will be in the user-defined set only.

SystemObjectsOnly 1

The scope of the search will be in the system set only.

BothUserDefinedAndSystemObjects 2

The scope of the search will be in both the user-defined and system sets.

Remarks

The SearchOption simple type allows the exclusion or inclusion of user-created objects and system objects.

Applies to