Compartir a través de


Clase BackupDatabaseStatement

Represents the BACKUP DATABASE statement.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.BackupStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.BackupDatabaseStatement

Espacio de nombres:  Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado:  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public Class BackupDatabaseStatement _
    Inherits BackupStatement
'Uso
Dim instance As BackupDatabaseStatement
[SerializableAttribute]
public class BackupDatabaseStatement : BackupStatement
[SerializableAttribute]
public ref class BackupDatabaseStatement : public BackupStatement
[<SerializableAttribute>]
type BackupDatabaseStatement =  
    class 
        inherit BackupStatement 
    end
public class BackupDatabaseStatement extends BackupStatement

El tipo BackupDatabaseStatement expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público BackupDatabaseStatement Initializes a new instance of the BackupDatabaseStatement class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública DatabaseName Gets or sets the database to back up. (Se hereda de BackupStatement.)
Propiedad pública Devices Gets or sets where backup should put data. (Se hereda de BackupStatement.)
Propiedad pública Files Gets a list of the files or file groups to back up.
Propiedad pública FirstTokenIndex Gets or sets the first token index. (Se hereda de TSqlFragment.)
Propiedad pública FragmentLength Gets the fragment length. (Se hereda de TSqlFragment.)
Propiedad pública LastTokenIndex Gets or sets the last token index. (Se hereda de TSqlFragment.)
Propiedad pública MirrorToClauses Gets a list of where the backup should be mirrored. (Se hereda de BackupStatement.)
Propiedad pública Options Gets a list of backup statement options. (Se hereda de BackupStatement.)
Propiedad pública ScriptTokenStream Gets or sets a list of token streams. (Se hereda de TSqlFragment.)
Propiedad pública StartColumn Gets the starting column. (Se hereda de TSqlFragment.)
Propiedad pública StartLine Gets the starting line. (Se hereda de TSqlFragment.)
Propiedad pública StartOffset Gets the fragment start offset value. (Se hereda de TSqlFragment.)

Arriba

Métodos

  Nombre Descripción
Método público Accept Indicates the entry point for a given visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).)
Método público AcceptChildren Calls Accept on the children with the given visitor. (Invalida BackupStatement.AcceptChildren(TSqlFragmentVisitor).)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom