IDatabaseOptions 接口
Interface with properties that expose database options.
此 API 不符合 CLS。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayDescriptionKeyAttribute("IDatabaseOptions_Desc")> _
<CLSCompliantAttribute(False)> _
<StateChangeEventAttribute("CREATE_DATABASE", "DATABASE")> _
<StateChangeEventAttribute("ALTER_DATABASE", "DATABASE")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<DisplayNameKeyAttribute("IDatabaseOptions_Name")> _
Public Interface IDatabaseOptions _
Inherits IDmfFacet
用法
Dim instance As IDatabaseOptions
[DisplayDescriptionKeyAttribute("IDatabaseOptions_Desc")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute("CREATE_DATABASE", "DATABASE")]
[StateChangeEventAttribute("ALTER_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
[DisplayDescriptionKeyAttribute(L"IDatabaseOptions_Desc")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute(L"CREATE_DATABASE", L"DATABASE")]
[StateChangeEventAttribute(L"ALTER_DATABASE", L"DATABASE")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute(L"IDatabaseOptions_Name")]
public interface class IDatabaseOptions : IDmfFacet
[<DisplayDescriptionKeyAttribute("IDatabaseOptions_Desc")>]
[<CLSCompliantAttribute(false)>]
[<StateChangeEventAttribute("CREATE_DATABASE", "DATABASE")>]
[<StateChangeEventAttribute("ALTER_DATABASE", "DATABASE")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<DisplayNameKeyAttribute("IDatabaseOptions_Name")>]
type IDatabaseOptions =
interface
interface IDmfFacet
end
public interface IDatabaseOptions extends IDmfFacet
IDatabaseOptions 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
AnsiNullDefault | Gets or sets a Boolean property value that specifies whether the ANSI_NULL_DEFAULT database option is active. |
![]() |
AnsiNullsEnabled | Gets or sets a Boolean property value that specifies whether the ANSI_NULLS_ENABLED database option is active. |
![]() |
AnsiPaddingEnabled | Gets or sets a Boolean property value that specifies whether the ANSI_PADDING_ENABLED database option is active. |
![]() |
AnsiWarningsEnabled | Gets or sets a Boolean property value that specifies whether the ANSI_WARNING_ENABLED database option is active. |
![]() |
ArithmeticAbortEnabled | Gets or sets a Boolean property value that specifies whether the ARITHMETICABORT database option is active. |
![]() |
AutoClose | Gets or sets a Boolean property value that specifies whether the AUTOCLOSE database option is active. |
![]() |
AutoCreateStatisticsEnabled | |
![]() |
AutoShrink | Gets or sets a Boolean property value that specifies whether the AUTOSHRINK database option is active. |
![]() |
AutoUpdateStatisticsAsync | Gets or sets a Boolean property value that specifies whether the AUTOUPDATESTATISTICSASYNC database option is active. |
![]() |
AutoUpdateStatisticsEnabled | |
![]() |
BrokerEnabled | Gets or sets a Boolean property value that specifies whether the Service Broker service is enabled. |
![]() |
ChangeTrackingAutoCleanUp | |
![]() |
ChangeTrackingEnabled | |
![]() |
ChangeTrackingRetentionPeriod | |
![]() |
ChangeTrackingRetentionPeriodUnits | |
![]() |
CloseCursorsOnCommitEnabled | Gets or sets a Boolean property value that specifies whether the CURSOR_CLOSE_ON_COMMIT database option is active. |
![]() |
Collation | |
![]() |
CompatibilityLevel | |
![]() |
ConcatenateNullYieldsNull | Gets or sets a Boolean property value that specifies whether the CONCAT_NULL_YIELDS_NULL database option is active. |
![]() |
CreateDate | |
![]() |
DatabaseOwnershipChaining | |
![]() |
DatabaseSnapshotBaseName | |
![]() |
DateCorrelationOptimization | Gets or sets a Boolean property value that specifies whether the date correlation optimization is active. |
![]() |
DefaultFileGroup | |
![]() |
DefaultFileStreamFileGroup | |
![]() |
EncryptionEnabled | |
![]() |
HonorBrokerPriority | |
![]() |
ID | |
![]() |
IsParameterizationForced | Gets or sets a Boolean property value that specifies whether parameterization is forced on the database. |
![]() |
IsReadCommittedSnapshotOn | |
![]() |
IsSystemObject | |
![]() |
IsUpdateable | |
![]() |
LocalCursorsDefault | Gets the Boolean value that specifies whether the local server cursors are used by default. |
![]() |
MirroringTimeout | Gets 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. |
![]() |
Name | |
![]() |
NumericRoundAbortEnabled | Gets or sets a Boolean property value that specifies whether the NUMERIC_ROUNDABORT database option is active. |
![]() |
PageVerify | Specifies the type of page integrity check that SQL Server performs when it reads database pages. |
![]() |
PrimaryFilePath | |
![]() |
QuotedIdentifiersEnabled | Gets 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. |
![]() |
ReadOnly | Gets or sets the Boolean property value that specifies whether the database is read-only. |
![]() |
RecoveryModel | Gets or sets the recovery model for the database. |
![]() |
RecursiveTriggersEnabled | Gets or sets the Boolean value that specifies whether recursive triggers are enabled on the database. |
![]() |
Trustworthy | |
![]() |
UserAccess | Gets or sets the database user access. |
页首