Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Represents the CREATE DATABASE statement.
Иерархия наследования
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.CreateDatabaseStatement
Пространство имен: Microsoft.SqlServer.TransactSql.ScriptDom
Сборка: Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class CreateDatabaseStatement _
Inherits TSqlStatement
'Применение
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
Тип CreateDatabaseStatement обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
CreateDatabaseStatement | Initializes a new instance of the CreateDatabaseStatement class. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
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. (Производный от TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Производный от TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Производный от 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. (Производный от TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Производный от TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Производный от TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Производный от TSqlFragment.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Accept | Accepts a visit from the specified visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Переопределяет TSqlStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Object.) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)