Classe CreateDatabaseStatement
Represents the CREATE DATABASE statement.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.CreateDatabaseStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class CreateDatabaseStatement _
Inherits TSqlStatement
'Uso
Dim instance As CreateDatabaseStatement
[SerializableAttribute]
public class CreateDatabaseStatement : TSqlStatement
[SerializableAttribute]
public ref class CreateDatabaseStatement : public TSqlStatement
[<SerializableAttribute>]
type CreateDatabaseStatement =
class
inherit TSqlStatement
end
public class CreateDatabaseStatement extends TSqlStatement
O tipo CreateDatabaseStatement expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
CreateDatabaseStatement | Initializes a new instance of the CreateDatabaseStatement class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
AttachMode | Gets or sets the attach mode. | |
Collation | Gets or sets the collation name. | |
Containment | Gets or sets the containment database option. | |
CopyOf | Gets or sets the name of source server and source database for the CopyOf option. | |
DatabaseName | Gets or sets the name of the database that is being created. | |
DatabaseSnapshot | Gets or sets the database snapshot name. | |
FileGroups | Gets or sets a list of Filegroups (including primary one) from LOG ON clause. | |
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.) | |
LogOn | Gets a list of log on file declarations. | |
Options | Gets or sets the database Options for Create Database. | |
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 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.