Exportar (0) Imprimir
Expandir Tudo

Interface IDatabaseOptions

Interface with properties that expose database options.

Essa API não é compatível com CLS. 

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

[CLSCompliantAttribute(false)]
[DisplayDescriptionKeyAttribute("IDatabaseOptions_Desc")]
[StateChangeEventAttribute("CREATE_DATABASE", "DATABASE")]
[StateChangeEventAttribute("ALTER_DATABASE", "DATABASE")]
[StateChangeEventAttribute("ALTER_AUTHORIZATION_DATABASE", "DATABASE")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute("IDatabaseOptions_Name")]
public interface IDatabaseOptions : IDmfFacet

O tipo IDatabaseOptions expõe os membros a seguir.

  NomeDescrição
Propriedade públicaAnsiNullDefaultGets or sets a Boolean property value that specifies whether the ANSI_NULL_DEFAULT database option is active.
Propriedade públicaAnsiNullsEnabledGets or sets a Boolean property value that specifies whether the ANSI_NULLS_ENABLED database option is active.
Propriedade públicaAnsiPaddingEnabledGets or sets a Boolean property value that specifies whether the ANSI_PADDING_ENABLED database option is active.
Propriedade públicaAnsiWarningsEnabledGets or sets a Boolean property value that specifies whether the ANSI_WARNING_ENABLED database option is active.
Propriedade públicaArithmeticAbortEnabledGets or sets a Boolean property value that specifies whether the ARITHMETICABORT database option is active.
Propriedade públicaAutoCloseGets or sets a Boolean property value that specifies whether the AUTOCLOSE database option is active.
Propriedade públicaAutoCreateStatisticsEnabledGets or sets a Boolean property value that specifies whether the AUTOCREATESTATISTICS database option is active.
Propriedade públicaAutoShrinkGets or sets a Boolean property value that specifies whether the AUTOSHRINK database option is active.
Propriedade públicaAutoUpdateStatisticsAsyncGets or sets a Boolean property value that specifies whether the AUTOUPDATESTATISTICSASYNC database option is active.
Propriedade públicaAutoUpdateStatisticsEnabledSpecifies whether database statistics are automatically updated.
Propriedade públicaBrokerEnabledGets or sets a Boolean property value that specifies whether the Service Broker service is enabled.
Propriedade públicaChangeTrackingAutoCleanUpGets or sets a Boolean property value that specifies whether the CHANGE_TRACKING_AUTO_CLEANUP OPTION is enabled.
Propriedade públicaChangeTrackingEnabledGets or sets a value indicating whether change tracking is enabled.
Propriedade públicaChangeTrackingRetentionPeriodGets or sets an interval that specifies how long change tracking information is retained.
Propriedade públicaChangeTrackingRetentionPeriodUnitsSpecifies the units for the change tracking retention period.
Propriedade públicaCloseCursorsOnCommitEnabledGets or sets a Boolean property value that specifies whether the CURSOR_CLOSE_ON_COMMIT database option is active.
Propriedade públicaCollationGets or sets the default collation used by the database.
Propriedade públicaCompatibilityLevelGets or sets the compatibility level for a database.
Propriedade públicaConcatenateNullYieldsNullGets or sets a Boolean property value that specifies whether the CONCAT_NULL_YIELDS_NULL database option is active.
Propriedade públicaCreateDateGets the date and time at which the database was created.
Propriedade públicaDatabaseOwnershipChainingIndicates whether property ownership chaining is active.
Propriedade públicaDatabaseSnapshotBaseNameGets the name of shapshot base for the database.
Propriedade públicaDateCorrelationOptimizationGets or sets a Boolean property value that specifies whether the date correlation optimization is active.
Propriedade públicaDefaultFileGroupGets the default file group used by the database.
Propriedade públicaDefaultFileStreamFileGroupGets the default stream file group used by the database.
Propriedade públicaEncryptionEnabledGets or sets a value indicating whether encryption is enabled for the database.
Propriedade públicaHonorBrokerPriorityGets or sets a value that indicates whether the priority specified by the broker is acknowledged.
Propriedade públicaIDGets the database ID value.
Propriedade públicaIsParameterizationForcedGets or sets a Boolean property value that specifies whether parameterization is forced on the database.
Propriedade públicaIsReadCommittedSnapshotOnGets a value that specifies whether transactions with the read committed isolation level use row versioning.
Propriedade públicaIsSystemObjectSpecifies whether the database is a system object or a user-defined database.
Propriedade públicaIsUpdateableIndicates whether the database is updateable.
Propriedade públicaLocalCursorsDefaultGets the Boolean value that specifies whether the local server cursors are used by default.
Propriedade públicaMirroringTimeoutGets or sets the maximum time, in seconds, that the principal server instance waits for a PING message from another instance in the mirroring session before assuming the other instance is disconnected.
Propriedade públicaNameGets the name of the database.
Propriedade públicaNumericRoundAbortEnabledGets or sets a Boolean property value that specifies whether the NUMERIC_ROUNDABORT database option is active.
Propriedade públicaOwnerGets the the owner of the database.
Propriedade públicaPageVerifySpecifies the type of page integrity check that SQL Server performs when it reads database pages.
Propriedade públicaPrimaryFilePathGets the primary database file path.
Propriedade públicaQuotedIdentifiersEnabledGets or sets a Boolean property value that specifies whether identifiers delimited by double quotation marks (" ") are Transact-SQL reserved keywords or contain characters not usually allowed by the Transact-SQL syntax rules.
Propriedade públicaReadOnlyGets or sets the Boolean property value that specifies whether the database is read-only.
Propriedade públicaRecoveryModelGets or sets the recovery model for the database.
Propriedade públicaRecursiveTriggersEnabledGets or sets the Boolean value that specifies whether recursive triggers are enabled on the database.
Propriedade públicaTrustworthyThe TRUSTWORTHY database property is used to indicate whether the instance of SQL Server trusts the database and the contents within it.
Propriedade públicaUserAccessGets or sets the database user access.
Início

Contribuições da comunidade

ADICIONAR
A Microsoft está realizando uma pesquisa online para saber sua opinião sobre o site do MSDN. Se você optar por participar, a pesquisa online lhe será apresentada quando você sair do site do MSDN.

Deseja participar?
Mostrar:
© 2014 Microsoft