RestoreStatement 클래스

Represents the RESTORE/LOAD statement.

상속 계층

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.RestoreStatement

네임스페이스:  Microsoft.SqlServer.TransactSql.ScriptDom
어셈블리:  Microsoft.SqlServer.TransactSql.ScriptDom(Microsoft.SqlServer.TransactSql.ScriptDom.dll)

구문

‘선언
<SerializableAttribute> _
Public Class RestoreStatement _
    Inherits TSqlStatement
‘사용 방법
Dim instance As RestoreStatement
[SerializableAttribute]
public class RestoreStatement : TSqlStatement
[SerializableAttribute]
public ref class RestoreStatement : public TSqlStatement
[<SerializableAttribute>]
type RestoreStatement =  
    class 
        inherit TSqlStatement 
    end
public class RestoreStatement extends TSqlStatement

RestoreStatement 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 RestoreStatement Initializes a new instance of the RestoreStatement class.

맨 위로 이동

속성

  이름 설명
공용 속성 DatabaseName Gets or sets the database to restore (can be Identifier or variable Literal).
공용 속성 Devices Gets a list from what devices we should restore.
공용 속성 Files Gets a list of files/filegroups/pages to restore.
공용 속성 FirstTokenIndex Gets or sets the first token index. (TSqlFragment에서 상속됨)
공용 속성 FragmentLength Gets the fragment length. (TSqlFragment에서 상속됨)
공용 속성 Kind Gets or sets the RESTORE statement kind.
공용 속성 LastTokenIndex Gets or sets the last token index. (TSqlFragment에서 상속됨)
공용 속성 Options Gets a list of restore statement options.
공용 속성 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에서 상속됨)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.TransactSql.ScriptDom 네임스페이스