SearchOption Enum

Definition

Contains values specifying the scope of metadata objects to be searched.

public enum class SearchOption
[System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContract(Name="SearchOption", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public enum SearchOption
[<System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")>]
[<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

Return both user-defined and system objects.

SystemObjectsOnly 1

Return only system objects and exlude user-defined objects.

UserDefinedObjectsOnly 0

Return only user-defined objects and exlude system objects.

Remarks

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

Applies to