Класс BackupRestoreMasterKeyStatementBase

Represents the common part of BACKUP and RESTORE (SERVICE) MASTER KEY statements.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.BackupRestoreMasterKeyStatementBase
        Microsoft.SqlServer.TransactSql.ScriptDom.BackupMasterKeyStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.BackupServiceMasterKeyStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.RestoreMasterKeyStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.RestoreServiceMasterKeyStatement

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public MustInherit Class BackupRestoreMasterKeyStatementBase _
    Inherits TSqlStatement
'Применение
Dim instance As BackupRestoreMasterKeyStatementBase
[SerializableAttribute]
public abstract class BackupRestoreMasterKeyStatementBase : TSqlStatement
[SerializableAttribute]
public ref class BackupRestoreMasterKeyStatementBase abstract : public TSqlStatement
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type BackupRestoreMasterKeyStatementBase =  
    class 
        inherit TSqlStatement 
    end
public abstract class BackupRestoreMasterKeyStatementBase extends TSqlStatement

Тип BackupRestoreMasterKeyStatementBase обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод BackupRestoreMasterKeyStatementBase Initializes a new instance of the BackupRestoreMasterKeyStatementBase class.

В начало

Свойства

  Имя Описание
Открытое свойство File Gets or sets the file to save to or load from the service master key.
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство Password Gets or sets the password used to encrypt or decrypt the master key in the file.
Открытое свойство 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 Indicates the entry point for a given visitor. (Производный от TSqlFragment.)
Открытый метод AcceptChildren Accepts a visit from the specified visitor. (Переопределяет TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom