Classe AlterDatabaseStatement
Represents ALTER DATABASE statement.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseStatement
Mais...
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public MustInherit Class AlterDatabaseStatement _
Inherits TSqlStatement
'Uso
Dim instance As AlterDatabaseStatement
[SerializableAttribute]
public abstract class AlterDatabaseStatement : TSqlStatement
[SerializableAttribute]
public ref class AlterDatabaseStatement abstract : public TSqlStatement
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type AlterDatabaseStatement =
class
inherit TSqlStatement
end
public abstract class AlterDatabaseStatement extends TSqlStatement
O tipo AlterDatabaseStatement expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
AlterDatabaseStatement | Initializes a new instance of the AlterDatabaseStatement class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
DatabaseName | Gets or sets the name of the database to alter. | |
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.) | |
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.) | |
UseCurrent | Gets or sets whether CURRENT is specified instead of Database Name. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Indicates the entry point for a given visitor. (Herdado de TSqlFragment.) | |
AcceptChildren | Accept a visit for the Children from the specified visitor. (Substitui TSqlStatement.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.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseAddFileGroupStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseAddFileStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseCollateStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseModifyFileGroupStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseModifyFileStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseModifyNameStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseRebuildLogStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseRemoveFileGroupStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseRemoveFileStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseSetStatement