Export (0) Print
Expand All

IViewOptions Interface

The IViewOptions class is an interface that represents a collection of options that is associated with a view.

This API is not CLS-compliant. The CLS-compliant alternative is .

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[StateChangeEventAttribute("ALTER_SCHEMA", "VIEW")]
[DisplayNameKeyAttribute("IViewOptions_Name")]
[DisplayDescriptionKeyAttribute("IViewOptions_Desc")]
[StateChangeEventAttribute("ALTER_VIEW", "VIEW")]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[StateChangeEventAttribute("CREATE_VIEW", "VIEW")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[StateChangeEventAttribute("RENAME", "VIEW")]
[StateChangeEventAttribute("ALTER_AUTHORIZATION_DATABASE", "VIEW")]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface IViewOptions : IDmfFacet

The IViewOptions type exposes the following members.

  NameDescription
Public propertyAnsiNullsStatusGets or sets the Boolean value that determines whether ISO null handling is enabled on the view.
Public propertyCreateDateGets the date and time when the view was created.
Public propertyIDGets the ID value that uniquely identifies the view.
Public propertyIsEncryptedIndicates whether the view is encrypted.
Public propertyIsSchemaBoundGets the Boolean value that determines whether a schema is bound to the view.
Public propertyIsSchemaOwnedGets the Boolean value that determines whether the view schema has an owner.
Public propertyIsSystemObjectGets the Boolean value that determines whether the view is a system object.
Public propertyNameGets or sets the name of the view.
Public propertyOwnerGets the owner of the view options.
Public propertyQuotedIdentifierStatusGets or sets the Boolean value that determines whether identifiers delimited by double quotation marks are Transact-SQL reserved keywords or contain characters not usually allowed by the Transact-SQL syntax rules.
Public propertyReturnsViewMetadataGets the Boolean value that determines whether the metadata is returned with the view data.
Public propertySchemaGets or sets the schema that is associated with the view options.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft