Freigeben über


LiteralPrincipalOption-Klasse

Represents a literal option in CREATE/ALTER LOGIN/USER statement.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.PrincipalOption
      Microsoft.SqlServer.TransactSql.ScriptDom.LiteralPrincipalOption

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class LiteralPrincipalOption _
    Inherits PrincipalOption
'Usage
Dim instance As LiteralPrincipalOption
[SerializableAttribute]
public class LiteralPrincipalOption : PrincipalOption
[SerializableAttribute]
public ref class LiteralPrincipalOption : public PrincipalOption
[<SerializableAttribute>]
type LiteralPrincipalOption =  
    class 
        inherit PrincipalOption 
    end
public class LiteralPrincipalOption extends PrincipalOption

Der LiteralPrincipalOption-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode LiteralPrincipalOption Initializes a new instance of the LiteralPrincipalOption class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft FirstTokenIndex Gets or sets the first token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft FragmentLength Gets the fragment length. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft LastTokenIndex Gets or sets the last token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft OptionKind Gets the kind of the option. (Geerbt von PrincipalOption.)
Öffentliche Eigenschaft ScriptTokenStream Gets or sets a list of token streams. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartColumn Gets the starting column. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartLine Gets the starting line. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartOffset Gets the fragment start offset value. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft Value Gets or sets the principal option value.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept Accepts a visit from the specified visitor. (Überschreibt PrincipalOption.Accept(TSqlFragmentVisitor).)
Öffentliche Methode AcceptChildren Accepts a visit for the Children from the specified visitor. (Überschreibt PrincipalOption.AcceptChildren(TSqlFragmentVisitor).)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace