SecurityPrincipal SecurityPrincipal SecurityPrincipal Class

Definition

Represents the principal that can be used in security statement body.

public ref class SecurityPrincipal : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlFragment
public class SecurityPrincipal : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public Class SecurityPrincipal
Inherits TSqlFragment
Inheritance
SecurityPrincipalSecurityPrincipalSecurityPrincipal

Constructors

SecurityPrincipal() SecurityPrincipal() SecurityPrincipal()

Initializes a new instance of the SecurityPrincipal class.

Properties

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
Identifier Identifier Identifier

Gets or sets the security principal identifier. Optional may be null.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
PrincipalType PrincipalType PrincipalType

Gets or sets the type of the principal.

ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to