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

BothUserDefinedAndSystemObjects 2

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

SystemObjectsOnly 1

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

UserDefinedObjectsOnly 0

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

Remarks

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

Applies to