Share via


CredentialStatement Class

Definition

Represents common parts of ALTER and CREATE CREDENTIAL statement

[System.Serializable]
public abstract class CredentialStatement : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
[<System.Serializable>]
type CredentialStatement = class
    inherit TSqlStatement
Public MustInherit Class CredentialStatement
Inherits TSqlStatement
Inheritance
CredentialStatement
Derived
Attributes

Constructors

CredentialStatement()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
Identity

Specifies the name of the account to be used when connecting outside the server.

IsDatabaseScoped

Whether the credential is database scoped or not.

LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
Name

Credential name

ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
Secret

Specifies the secret required for outgoing authentication. This clause is optional.

StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)

Methods

Accept(TSqlFragmentVisitor)

Accepts the specified visitor.

(Inherited from TSqlFragment)
AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to