Элементы DatabaseOptions
The DatabaseOptions object represents SQL Server database options.
Тип DatabaseOptions предоставляет доступ к следующим элементам.
Методы
Имя | Описание | |
---|---|---|
![]() |
AddDatabaseContext | (Наследуется из SqlSmoObject.) |
![]() |
Alter() () () () | Updates any DatabaseOptions object property changes on the instance of SQL Server. |
![]() |
Alter(TimeSpan) | Updates any DatabaseOptions object property changes on the instance of Microsoft SQL Server. |
![]() |
Alter(TerminationClause) | Updates any DatabaseOptions object property changes on the instance of SQL Server. |
![]() |
AlterImpl | (Наследуется из SqlSmoObject.) |
![]() |
AlterImplFinish | (Наследуется из SqlSmoObject.) |
![]() |
AlterImplInit | (Наследуется из SqlSmoObject.) |
![]() |
AlterImplWorker | (Наследуется из SqlSmoObject.) |
![]() |
BindDefaultImpl | (Наследуется из SqlSmoObject.) |
![]() |
BindRuleImpl | (Наследуется из SqlSmoObject.) |
![]() |
CheckCollation | (Наследуется из SqlSmoObject.) |
![]() |
CheckObjectState() () () () | Validates the state of the referenced object. (Наследуется из SqlSmoObject.) |
![]() |
CheckObjectState(Boolean) | Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (Наследуется из SqlSmoObject.) |
![]() |
CheckObjectStateImpl | (Наследуется из SqlSmoObject.) |
![]() |
CheckVersion100 | (Наследуется из SqlSmoObject.) |
![]() |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Наследуется из SqlSmoObject.) |
![]() |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Наследуется из SqlSmoObject.) |
![]() |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Наследуется из SqlSmoObject.) |
![]() |
CheckVersionBelow90 | (Наследуется из SqlSmoObject.) |
![]() |
CleanObject | (Наследуется из SqlSmoObject.) |
![]() |
CreateImpl | (Наследуется из SqlSmoObject.) |
![]() |
CreateImplFinish | (Наследуется из SqlSmoObject.) |
![]() |
CreateImplInit | (Наследуется из SqlSmoObject.) |
![]() |
Discover | (Наследуется из SqlSmoObject.) |
![]() |
DropImpl | (Наследуется из SqlSmoObject.) |
![]() |
DropImplWorker | (Наследуется из SqlSmoObject.) |
![]() |
EnumScriptImpl | (Наследуется из SqlSmoObject.) |
![]() |
EnumScriptImplWorker | (Наследуется из SqlSmoObject.) |
![]() |
Equals | (Наследуется из Object.) |
![]() |
Finalize | (Наследуется из Object.) |
![]() |
FormatSqlVariant | (Наследуется из SqlSmoObject.) |
![]() |
GenerateDataSpaceFileStreamScript | (Наследуется из SqlSmoObject.) |
![]() |
GenerateDataSpaceScript | (Наследуется из SqlSmoObject.) |
![]() |
GetBindDefaultScript | (Наследуется из SqlSmoObject.) |
![]() |
GetBindRuleScript | (Наследуется из SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Наследуется из SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Наследуется из SqlSmoObject.) |
![]() |
GetDateTimeParameter | (Наследуется из SqlSmoObject.) |
![]() |
GetDateTimeParameterAsInt | (Наследуется из SqlSmoObject.) |
![]() |
GetDBName | Gets the database name that is associated with the object. (Наследуется из SqlSmoObject.) |
![]() |
GetEnumParameter | (Наследуется из SqlSmoObject.) |
![]() |
GetFragOptionString | (Наследуется из SqlSmoObject.) |
![]() |
GetGuidParameter | (Наследуется из SqlSmoObject.) |
![]() |
GetHashCode | (Наследуется из Object.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Наследуется из SqlSmoObject.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Наследуется из SqlSmoObject.) |
![]() |
GetPropValue | (Наследуется из SqlSmoObject.) |
![]() |
GetPropValueOptional | (Наследуется из SqlSmoObject.) |
![]() |
GetPropValueOptionalAllowNull | (Наследуется из SqlSmoObject.) |
![]() |
GetRealValue | (Наследуется из SqlSmoObject.) |
![]() |
GetScriptingOptionsForCreate | (Наследуется из SqlSmoObject.) |
![]() |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Наследуется из SqlSmoObject.) |
![]() |
GetServerObject | (Наследуется из SqlSmoObject.) |
![]() |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Наследуется из SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Наследуется из SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Наследуется из SqlSmoObject.) |
![]() |
GetTimeSpanParameterAsInt | (Наследуется из SqlSmoObject.) |
![]() |
GetType | (Наследуется из Object.) |
![]() |
GetUrnRecursive(StringBuilder) | (Наследуется из SqlSmoObject.) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Наследуется из SqlSmoObject.) |
![]() |
ImplInitialize | (Наследуется из SqlSmoObject.) |
![]() |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Наследуется из SqlSmoObject.) |
![]() |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Наследуется из SqlSmoObject.) |
![]() |
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Наследуется из SqlSmoObject.) |
![]() |
IsObjectInitialized | Verifies whether the object has been initialized. (Наследуется из SqlSmoObject.) |
![]() |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Наследуется из SqlSmoObject.) |
![]() |
IsVersion80SP3 | (Наследуется из SqlSmoObject.) |
![]() |
MarkDropped | (Наследуется из SqlSmoObject.) |
![]() |
MarkForDropImpl | (Наследуется из SqlSmoObject.) |
![]() |
MemberwiseClone | (Наследуется из Object.) |
![]() |
PostAlter | (Наследуется из SqlSmoObject.) |
![]() |
PostCreate | (Наследуется из SqlSmoObject.) |
![]() |
PostDrop | (Наследуется из SqlSmoObject.) |
![]() |
Refresh | (Перезаписывает SqlSmoObject. . :: . .Refresh() () () ().) |
![]() |
ScriptAlter | (Наследуется из SqlSmoObject.) |
![]() |
ScriptCreate | (Наследуется из SqlSmoObject.) |
![]() |
ScriptDdl | (Наследуется из SqlSmoObject.) |
![]() |
ScriptDrop | (Наследуется из SqlSmoObject.) |
![]() |
ScriptImpl() () () () | (Наследуется из SqlSmoObject.) |
![]() |
ScriptImpl(ScriptingOptions) | (Наследуется из SqlSmoObject.) |
![]() |
ScriptImplWorker | (Наследуется из SqlSmoObject.) |
![]() |
SetParentImpl | (Наследуется из SqlSmoObject.) |
![]() |
SetSnapshotIsolation | Sets the snapshot isolation level. |
![]() |
ToString | Returns a String that represents the referenced object. (Наследуется из SqlSmoObject.) |
![]() |
TouchImpl | (Наследуется из SqlSmoObject.) |
![]() |
UnbindDefaultImpl | (Наследуется из SqlSmoObject.) |
![]() |
UnbindRuleImpl | (Наследуется из SqlSmoObject.) |
![]() |
Validate | (Наследуется из SmoObjectBase.) |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
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. |
![]() |
AutoCreateStatistics | Gets or sets a Boolean property value that specifies whether the AUTOCREATESTATISTICS database option is active. |
![]() |
AutoShrink | Gets or sets a Boolean property value that specifies whether the AUTOSHRINK database option is active. |
![]() |
AutoUpdateStatistics | Gets or sets a Boolean property value that specifies whether the AUTOUPDATESTATISTICS database option is active. |
![]() |
AutoUpdateStatisticsAsync | Gets or sets a Boolean property value that specifies whether the AUTOUPDATESTATISTICSASYNC database option is active. |
![]() |
BrokerEnabled | Gets or sets a Boolean property value that specifies whether the Service Broker service is enabled. |
![]() |
CloseCursorsOnCommitEnabled | Gets or sets a Boolean property value that specifies whether the CURSOR_CLOSE_ON_COMMIT database option is active. |
![]() |
ConcatenateNullYieldsNull | Gets or sets a Boolean property value that specifies whether the CONCAT_NULL_YIELDS_NULL database option is active. |
![]() |
DatabaseOwnershipChaining | Gets or sets a Boolean property value that specifies whether the database ownership chaining is active. |
![]() |
DateCorrelationOptimization | Gets or sets a Boolean property value that specifies whether the date correlation optimization is active. |
![]() |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Наследуется из SqlSmoObject.) |
![]() |
IsParameterizationForced | Gets or sets a Boolean property value that specifies whether parameterization is forced on the database. |
![]() |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Наследуется из SqlSmoObject.) |
![]() |
LocalCursorsDefault | Gets the Boolean value that specifies whether the local server cursors are used by default. |
![]() |
MirroringRedoQueueMaxSize | Gets or sets the maximum size of the redo queue of the mirror server instance in KB. |
![]() |
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. |
![]() |
NumericRoundAbortEnabled | Gets or sets a Boolean property value that specifies whether the NUMERIC_ROUNDABORT database option is active. |
![]() |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Наследуется из SqlSmoObject.) |
![]() |
PageVerify | Specifies the type of page integrity check that Microsoft SQL Server performs when reading database pages. |
![]() |
Parent | Gets the Database object that is the parent of the DatabaseOptions object. |
![]() |
Properties | |
![]() |
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. |
![]() |
ScalarResult | Gets the scalar result for the referenced object. (Наследуется из SqlSmoObject.) |
![]() |
SnapshotIsolationState | Gets the snapshot isolation state for the database. |
![]() |
State | Gets the state of the referenced object. (Наследуется из SmoObjectBase.) |
![]() |
Trustworthy | The TRUSTWORTHY database property is used to indicate whether the instance of SQL Server trusts the database and the contents within it. |
![]() |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Наследуется из SqlSmoObject.) |
![]() |
UserAccess | Gets or sets the database user access. |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Наследуется из SmoObjectBase.) |
В начало
События
Имя | Описание | |
---|---|---|
![]() |
PropertyChanged | (Наследуется из SqlSmoObject.) |
![]() |
PropertyMetadataChanged | (Наследуется из SqlSmoObject.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
![]() ![]() |
IAlienObjectDiscover | (Наследуется из SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetParent | (Наследуется из SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetProperty | (Наследуется из SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProviderGetPropertySet | (Наследуется из SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetUrn | (Наследуется из SqlSmoObject.) |
![]() ![]() |
IAlienObjectResolve | (Наследуется из SqlSmoObject.) |
![]() ![]() |
IAlienObjectSetProperty | (Наследуется из SqlSmoObject.) |
В начало