Condividi tramite


Classe RestoreOption

Represents a single option in a RESTORE statement.

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.RestoreOption
      Microsoft.SqlServer.TransactSql.ScriptDom.FileStreamRestoreOption
      Microsoft.SqlServer.TransactSql.ScriptDom.MoveRestoreOption
      Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpressionRestoreOption
      Microsoft.SqlServer.TransactSql.ScriptDom.StopRestoreOption

Spazio dei nomi  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public Class RestoreOption _
    Inherits TSqlFragment
'Utilizzo
Dim instance As RestoreOption
[SerializableAttribute]
public class RestoreOption : TSqlFragment
[SerializableAttribute]
public ref class RestoreOption : public TSqlFragment
[<SerializableAttribute>]
type RestoreOption =  
    class 
        inherit TSqlFragment 
    end
public class RestoreOption extends TSqlFragment

Nel tipo RestoreOption sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico RestoreOption Initializes a new instance of the RestoreOption class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica FirstTokenIndex Gets or sets the first token index. Ereditato da TSqlFragment.
Proprietà pubblica FragmentLength Gets the fragment length. Ereditato da TSqlFragment.
Proprietà pubblica LastTokenIndex Gets or sets the last token index. Ereditato da TSqlFragment.
Proprietà pubblica OptionKind Gets the restore option kind.
Proprietà pubblica ScriptTokenStream Gets or sets a list of token streams. Ereditato da TSqlFragment.
Proprietà pubblica StartColumn Gets the starting column. Ereditato da TSqlFragment.
Proprietà pubblica StartLine Gets the starting line. Ereditato da TSqlFragment.
Proprietà pubblica StartOffset Gets the fragment start offset value. Ereditato da TSqlFragment.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Accept Accepts a visit from the specified visitor. Esegue l'override di TSqlFragment.Accept(TSqlFragmentVisitor).
Metodo pubblico AcceptChildren Accepts a visit for the Children from the specified visitor. Esegue l'override di TSqlFragment.AcceptChildren(TSqlFragmentVisitor).
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.TransactSql.ScriptDom