ISqlDatabaseOptions Interface

Models the settings on a database.

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Interface ISqlDatabaseOptions _
    Inherits ISqlExtendedPropertyHost, ISqlSecurable, ISqlModelElement, IScriptSourcedModelElement,  _
    IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public interface ISqlDatabaseOptions : ISqlExtendedPropertyHost, 
    ISqlSecurable, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, 
    IModelEntity, IModelAnnotationHolder
public interface class ISqlDatabaseOptions : ISqlExtendedPropertyHost, 
    ISqlSecurable, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, 
    IModelEntity, IModelAnnotationHolder
type ISqlDatabaseOptions =  
    interface
        interface ISqlExtendedPropertyHost
        interface ISqlSecurable
        interface ISqlModelElement
        interface IScriptSourcedModelElement
        interface IModelElement
        interface IModelPropertyContainer
        interface IModelEntity
        interface IModelAnnotationHolder
    end
public interface ISqlDatabaseOptions extends ISqlExtendedPropertyHost, ISqlSecurable, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder

The ISqlDatabaseOptions type exposes the following members.

Properties

  Name Description
Public property Collation Gets or sets the database collation.
Public property CompatibilityMode Gets or sets the compatibility mode of the database.
Public property DefaultFilegroup Gets or sets the default filegroup.
Public property ElementClass Gets the metadata class for an element. (Inherited from IModelElement.)
Public property ExtendedProperties Gets the list of extended properties for this object. (Inherited from ISqlExtendedPropertyHost.)
Public property IsAnsiNullDefaultOn Gets or sets a value that models the ANSI_NULLS_DEFAULT option.
Public property IsAnsiNullsOn Gets or sets a value that models the ANSI_NULLS option.
Public property IsAnsiPaddingOn Gets or sets a value that models the ANSI_PADDING option.
Public property IsAnsiWarningsOn Gets or sets a value that models the ANSI_WARNINGS option.
Public property IsArithAbortOn Gets or sets a value that models the ARITHABORT option.
Public property IsAutoCloseOn Gets or sets a value that indicates whether AutoClose is enabled.
Public property IsAutoCreateStatisticsOn Gets or sets a value that indicates whether AutoCreateStatistics is enabled.
Public property IsAutoShrinkOn Gets or sets a value that indicates whether AutoShrink is enabled.
Public property IsAutoUpdateStatisticsOn Gets or sets a value that indicates whether AutoUpdateStatistics is enabled.
Public property IsConcatNullYieldsNullOn Gets or sets a value that models the CONCAT_NULL_YIELDS_NULL option.
Public property IsCursorCloseOnCommitOn Gets or sets a value that models the CURSOR_CLOSE_ON_COMMIT option.
Public property IsCursorDefaultScopeGlobal Gets or sets a value that indicates whether the default cursor scope is GLOBAL.
Public property IsDBChainingOn Gets or sets a value that indicates whether database chaining is enabled.
Public property IsFullTextEnabled True if full-text support is enabled.
Public property IsNumericRoundAbortOn Gets or sets a value that models the NUMERIC_ROUND_ABORT option.
Public property IsOffline Gets or sets a value that indicates whether the database state is set to OFFLINE.
Public property IsQuotedIdentifierOn Gets or sets a value that models the QUOTED_IDENTIFIER option.
Public property IsReadOnly Gets or sets a value that indicates whether the update state is READ_ONLY.
Public property IsRecursiveTriggersOn Gets or sets a value that indicates whether recursive triggers are enabled.
Public property IsTornPageProtectionOn Reverse compatibility only. Use the PageVerifyMode property instead.
Public property Model Gets the model reference. (Inherited from IModelEntity.)
Public property Name Gets or sets the name of the element. (Inherited from IModelElement.)
Public property Permissions Gets the list of permissions that apply to this object. (Inherited from ISqlSecurable.)
Public property PrimarySource Gets information about the primary source for the element. (Inherited from IScriptSourcedModelElement.)
Public property RecoveryMode Gets or sets the database recovery mode.
Public property ResolutionStatus Gets or sets the value of the model element resolution status. (Inherited from IModelElement.)
Public property SecondarySources Gets a list of secondary sources for the element. (Inherited from IScriptSourcedModelElement.)
Public property SourceCodePositions Gets the list of sources that define this element. (Inherited from IModelElement.)
Public property UserAccess Gets or sets a value that models the user access options.
Public property ValidationStatus Gets or sets the value of the model element validation status. (Inherited from IModelElement.)

Top

Methods

  Name Description
Public method AddAnnotation Adds the given annotation to this element. (Inherited from IModelAnnotationHolder.)
Public method Delete Deletes this instance from the model. (Inherited from IModelElement.)
Public method GetAnnotations() Returns a list of annotations attached to this element. (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations(Type) Returns a list of attached annotations of the given type. (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations(ModelIdentifier) Returns a list of attached annotations that have the given identifier. (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations(ModelIdentifier, Type) (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations<TType>() Returns all attached model annotations that implement the given annotation type and have the specified model identifier. (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations<TType>(ModelIdentifier) (Inherited from IModelAnnotationHolder.)
Public method GetComposingChildren Returns a list of composing children for this element. (Inherited from IModelElement.)
Public method GetDefaultFilegroupRelationship Returns an IModelSingleRelationship between this and the associated ISqlFilegroup.
Public method GetExtendedPropertiesRelationship Returns an IModelReverseMultiRelationship between this and the associated ISqlExtendedProperty. (Inherited from ISqlExtendedPropertyHost.)
Public method GetHierarchicalChildren Returns a list of hierarchical children for this element. (Inherited from IModelElement.)
Public method GetOwnerInfo Returns information about the element owner. (Inherited from IModelElement.)
Public method GetPermissionsRelationship Returns an IModelReverseMultiRelationship between this and the associated ISqlPermissionStatement. (Inherited from ISqlSecurable.)
Public method GetProperty<TProperty> Gets the specified property. (Inherited from IModelPropertyContainer.)
Public method GetReferencedDanglingRelationshipEntries Returns a list of the relationship entries, where this element is on the left side and there is either no element on the right side of the relationship, or the element on the right does not exist in the model. (Inherited from IModelElement.)
Public method GetReferencedElements Returns a list of the elements that are in a relationship with this element, where this element is on the left side of the relationship. (Inherited from IModelElement.)
Public method GetReferencedRelationshipEntries Returns a list of the relationship entries, where this element is on the left side. (Inherited from IModelElement.)
Public method GetReferencingElements Returns a list of the elements that are in a relationship with this element, where this element is on the right side. (Inherited from IModelElement.)
Public method GetReferencingRelationshipEntries Returns a list of the relationship entries, where this element is on the right side. (Inherited from IModelElement.)
Public method GetRelationship(ModelRelationshipClass) Returns the requested relationship by using the provided metadata. (Inherited from IModelElement.)
Public method GetRelationship<TFrom, TTo>(ModelRelationshipClass) Returns a relationship where the two related elements are of the specified types. (Inherited from IModelElement.)
Public method GetRelationshipEntrySources Returns a collection of source information about the given relationship. (Inherited from IScriptSourcedModelElement.)
Public method GetRelationships Returns a list of the relationships in this element. (Inherited from IModelElement.)
Public method IsDeleted Specifies whether the object is deleted. (Inherited from IModelElement.)
Public method IsExternal Returns a value that indicates whether the object was loaded from an external source and is not a part of the schema model. (Inherited from IModelElement.)
Public method RemoveAnnotation Removes the specified annotation from this model element. (Inherited from IModelAnnotationHolder.)
Public method SetProperty<TProperty> Sets the specified property. (Inherited from IModelPropertyContainer.)

Top

See Also

Reference

Microsoft.Data.Schema.Sql.SchemaModel Namespace