共用方式為


IDatabaseOptions Interface

Definition

Important

This API is not CLS-compliant.

[Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnChanges | Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_DATABASE", "DATABASE")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_DATABASE", "DATABASE")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_AUTHORIZATION_DATABASE", "DATABASE")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("IDatabaseOptions_Desc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("IDatabaseOptions_Name")]
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[System.CLSCompliant(false)]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public interface IDatabaseOptions : Microsoft.SqlServer.Management.Sdk.Sfc.IDmfFacet
[<Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnChanges | Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_DATABASE", "DATABASE")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_DATABASE", "DATABASE")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_AUTHORIZATION_DATABASE", "DATABASE")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("IDatabaseOptions_Desc")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("IDatabaseOptions_Name")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<System.CLSCompliant(false)>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))>]
type IDatabaseOptions = interface
    interface IDmfFacet
Public Interface IDatabaseOptions
Implements IDmfFacet
Derived
Attributes
Implements

Properties

AnsiNullDefault
AnsiNullsEnabled
AnsiPaddingEnabled
AnsiWarningsEnabled
ArithmeticAbortEnabled
AutoClose
AutoCreateIncrementalStatisticsEnabled
AutoCreateStatisticsEnabled
AutoShrink
AutoUpdateStatisticsAsync
AutoUpdateStatisticsEnabled
BrokerEnabled
ChangeTrackingAutoCleanUp
ChangeTrackingEnabled
ChangeTrackingRetentionPeriod
ChangeTrackingRetentionPeriodUnits
CloseCursorsOnCommitEnabled
Collation
CompatibilityLevel
ConcatenateNullYieldsNull
CreateDate
DatabaseOwnershipChaining
DatabaseSnapshotBaseName
DateCorrelationOptimization
DefaultFileGroup
DefaultFileStreamFileGroup
DelayedDurability
EncryptionEnabled
HonorBrokerPriority
ID
IsParameterizationForced
IsReadCommittedSnapshotOn
IsSystemObject
IsUpdateable
LocalCursorsDefault
MirroringTimeout
Name
NumericRoundAbortEnabled
Owner
PageVerify
PrimaryFilePath
QuotedIdentifiersEnabled
ReadOnly
RecoveryModel
RecursiveTriggersEnabled
RemoteDataArchiveCredential
RemoteDataArchiveEnabled
RemoteDataArchiveEndpoint
RemoteDataArchiveLinkedServer
RemoteDataArchiveUseFederatedServiceAccount
RemoteDatabaseName
TargetRecoveryTime
Trustworthy
UserAccess

Applies to