CreateDatabaseStatement Class

 

Represents the CREATE DATABASE statement.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.CreateDatabaseStatement

[SerializableAttribute]
public class CreateDatabaseStatement : TSqlStatement

NameDescription
System_CAPS_pubmethodCreateDatabaseStatement()

Initializes a new instance of the CreateDatabaseStatement class.

NameDescription
System_CAPS_pubpropertyAttachMode

Gets or sets the attach mode.

System_CAPS_pubpropertyCollation

Gets or sets the collation name.

System_CAPS_pubpropertyContainment

Gets or sets the containment database option.

System_CAPS_pubpropertyCopyOf

Gets or sets the name of source server and source database for the CopyOf option.

System_CAPS_pubpropertyDatabaseName

Gets or sets the name of the database that is being created.

System_CAPS_pubpropertyDatabaseSnapshot

Gets or sets the database snapshot name.

System_CAPS_pubpropertyFileGroups

Gets or sets a list of Filegroups (including primary one) from LOG ON clause.

System_CAPS_pubpropertyFirstTokenIndex

Gets or sets the first token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyFragmentLength

Gets the fragment length.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyLastTokenIndex

Gets or sets the last token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyLogOn

Gets a list of log on file declarations.

System_CAPS_pubpropertyOptions

Gets or sets the database Options for Create Database.

System_CAPS_pubpropertyScriptTokenStream

Gets or sets a list of token streams.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartColumn

Gets the starting column.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartLine

Gets the starting line.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartOffset

Gets the fragment start offset value.(Inherited from TSqlFragment.)

NameDescription
System_CAPS_pubmethodAccept(TSqlFragmentVisitor)

Accepts a visit from the specified visitor.(Overrides TSqlFragment.Accept(TSqlFragmentVisitor).)

System_CAPS_pubmethodAcceptChildren(TSqlFragmentVisitor)

Accepts a visit for the Children from the specified visitor.(Overrides TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: