Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Enumeration gibt die Arten von Optionen in Anweisungen ALTER DATABASEs Transact-SQL an.
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
Public Enumeration AlterDatabaseOptionKind
public enum AlterDatabaseOptionKind
public enum class AlterDatabaseOptionKind
type AlterDatabaseOptionKind
public enum AlterDatabaseOptionKind
Member
| Membername | Beschreibung | |
|---|---|---|
| Online | Wert ist 0. | |
| Offline | Wert ist 1. | |
| Emergency | Wert ist 2. | |
| SingleUser | Wert ist 3. | |
| RestrictedUser | Wert ist 4. | |
| MultiUser | Wert ist 5. | |
| ReadOnly | Wert ist 6. | |
| ReadWrite | Wert ist 7. | |
| EnableBroker | Wert ist 8. | |
| DisableBroker | Wert ist 9. | |
| NewBroker | Wert ist 10. | |
| ErrorBrokerConversations | Wert ist 11. | |
| DBChaining | Wert ist 12. | |
| Trustworthy | Wert ist 13. | |
| CursorCloseOnCommit | Wert ist 14. | |
| AutoClose | Wert ist 15. | |
| AutoCreateStatistics | Wert ist 16. | |
| AutoShrink | Wert ist 17. | |
| AutoUpdateStatistics | Wert ist 18. | |
| AutoUpdateStatisticsAsync | Wert ist 19. | |
| AnsiNullDefault | Wert ist 20 | |
| AnsiNulls | Wert ist 21. | |
| AnsiPadding | Wert ist 22. | |
| AnsiWarnings | Wert ist 23. | |
| ArithAbort | Wert ist 24. | |
| ConcatNullYieldsNull | Wert ist 25. | |
| NumericRoundAbort | Wert ist 26. | |
| QuotedIdentifier | Wert ist 27. | |
| RecursiveTriggers | Wert ist 28. | |
| TornPageDetection | Wert ist 29. | |
| DateCorrelationOptimization | Wert ist 30. | |
| AllowSnapshotIsolation | Wert ist 31. | |
| ReadCommittedSnapshot | Wert ist 32. | |
| Encryption | Wert ist 33. | |
| HonorBrokerPriority | Wert ist 34. | |
| VarDecimalStorageFormat | ||
| SupplementalLogging |
Hinweise
Werte von 0-11 sind einfache Optionen. Werte von 12-32 sind An/Aus-Optionen. Werte zwischen 33 und 35 sind ###on/off-Optionen, die für SQL Server 2008 spezifisch sind.