DropDatabaseStatement DropDatabaseStatement DropDatabaseStatement Class


Represents the DROP DATABASE statement.

public ref class DropDatabaseStatement : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlStatement
public class DropDatabaseStatement : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Public Class DropDatabaseStatement
Inherits TSqlStatement


DropDatabaseStatement() DropDatabaseStatement() DropDatabaseStatement()

Initializes a new instance of the DropDatabaseStatement class.


Databases Databases Databases

Gets a list of databases to drop.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
IsIfExists IsIfExists IsIfExists
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)


Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Indicates the entry point for a given visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to