Classe DatabaseOption
Represents the single option in ALTER DATABASE statement, SET case.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseOption
Mais...
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class DatabaseOption _
Inherits TSqlFragment
'Uso
Dim instance As DatabaseOption
[SerializableAttribute]
public class DatabaseOption : TSqlFragment
[SerializableAttribute]
public ref class DatabaseOption : public TSqlFragment
[<SerializableAttribute>]
type DatabaseOption =
class
inherit TSqlFragment
end
public class DatabaseOption extends TSqlFragment
O tipo DatabaseOption expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DatabaseOption | Initializes a new instance of the DatabaseOption class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
FirstTokenIndex | Gets or sets the first token index. (Herdado de TSqlFragment.) | |
FragmentLength | Gets the fragment length. (Herdado de TSqlFragment.) | |
LastTokenIndex | Gets or sets the last token index. (Herdado de TSqlFragment.) | |
OptionKind | Gets or sets the option kind. | |
ScriptTokenStream | Gets or sets a list of token streams. (Herdado de TSqlFragment.) | |
StartColumn | Gets the starting column. (Herdado de TSqlFragment.) | |
StartLine | Gets the starting line. (Herdado de TSqlFragment.) | |
StartOffset | Gets the fragment start offset value. (Herdado de TSqlFragment.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Accepts a visit from the specified visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) | |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Substitui TSqlFragment.AcceptChildren(TSqlFragmentVisitor).) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
Consulte também
Referência
Namespace Microsoft.SqlServer.TransactSql.ScriptDom
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.ChangeTrackingDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.ContainmentDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.CursorDefaultDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.FileStreamDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.HadrDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.IdentifierDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.LiteralDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.MaxSizeDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.OnOffDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.PageVerifyDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.ParameterizationDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.PartnerDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.RecoveryDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.TargetRecoveryTimeDatabaseOption
Microsoft.SqlServer.TransactSql.ScriptDom.WitnessDatabaseOption