SearchOption Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
UserDefinedObjectsOnly | 0 | Return only user-defined objects and exlude system objects. |
SystemObjectsOnly | 1 | Return only system objects and exlude user-defined objects. |
BothUserDefinedAndSystemObjects | 2 | Return both user-defined and system objects. |
Remarks
SearchOption allows the exclusion or inclusion of user-created and system objects.