GrantStatement 클래스

Represents the GRANT statement.

상속 계층

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.SecurityStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.GrantStatement

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

구문

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

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

생성자

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

맨 위로 이동

속성

  이름 설명
공용 속성 AsClause Gets or sets an AS clause. Optional may be nullnull 참조(Visual Basic에서는 Nothing). (SecurityStatement에서 상속됨)
공용 속성 FirstTokenIndex Gets or sets the first token index. (TSqlFragment에서 상속됨)
공용 속성 FragmentLength Gets the fragment length. (TSqlFragment에서 상속됨)
공용 속성 LastTokenIndex Gets or sets the last token index. (TSqlFragment에서 상속됨)
공용 속성 Permissions Gets or sets the permissions. (SecurityStatement에서 상속됨)
공용 속성 Principals Gets the principals. (SecurityStatement에서 상속됨)
공용 속성 ScriptTokenStream Gets or sets a list of token streams. (TSqlFragment에서 상속됨)
공용 속성 SecurityTargetObject Gets or sets the security target object. Optional may be nullnull 참조(Visual Basic에서는 Nothing). (SecurityStatement에서 상속됨)
공용 속성 StartColumn Gets the starting column. (TSqlFragment에서 상속됨)
공용 속성 StartLine Gets the starting line. (TSqlFragment에서 상속됨)
공용 속성 StartOffset Gets the fragment start offset value. (TSqlFragment에서 상속됨)
공용 속성 WithGrantOption Gets or sets whether the WITH GRANT OPTION is defined.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Accept Accepts a visit from the specified visitor. (TSqlFragment.Accept(TSqlFragmentVisitor)을(를) 재정의함)
공용 메서드 AcceptChildren Accepts a visit for the Children from the specified visitor. (SecurityStatement.AcceptChildren(TSqlFragmentVisitor)을(를) 재정의함)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

스레드 보안

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

참고 항목

참조

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