Leer en inglés

Compartir a través de


Interfaz IViewOptions

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

Esta API no es compatible con CLS. La alternativa compatible con CLS es .

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

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

El tipo IViewOptions expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública AnsiNullsStatus Gets or sets the Boolean value that determines whether ISO null handling is enabled on the view.
Propiedad pública CreateDate Gets the date and time when the view was created.
Propiedad pública ID Gets the ID value that uniquely identifies the view.
Propiedad pública IsEncrypted Indicates whether the view is encrypted.
Propiedad pública IsSchemaBound Gets the Boolean value that determines whether a schema is bound to the view.
Propiedad pública IsSchemaOwned Gets the Boolean value that determines whether the view schema has an owner.
Propiedad pública IsSystemObject Gets the Boolean value that determines whether the view is a system object.
Propiedad pública Name Gets or sets the name of the view.
Propiedad pública Owner Gets the owner of the view options.
Propiedad pública QuotedIdentifierStatus Gets 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.
Propiedad pública ReturnsViewMetadata Gets the Boolean value that determines whether the metadata is returned with the view data.
Propiedad pública Schema Gets or sets the schema that is associated with the view options.

Arriba

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo