Share via


Credential Class

Definition

Options used to authenticate a structured data source

public sealed class Credential : Microsoft.AnalysisServices.Tabular.CustomJsonProperty<Microsoft.AnalysisServices.Tabular.StructuredDataSource>
type Credential = class
    inherit CustomJsonProperty<StructuredDataSource>
Public NotInheritable Class Credential
Inherits CustomJsonProperty(Of StructuredDataSource)
Inheritance

Remarks

This object is only supported when the compatibility level of the database is at 1400 or above.

Constructors

Credential()

Create a new empty Credential object

Credential(String)

Create a Credential object deserialized from the given json string

Properties

AuthenticationKind

Authentication kind, usually one of the AuthenticationKind constants

EncryptConnection

Whether connection must be encrypted

IsEmpty

Gets an indication if the custom-property object is empty.

(Inherited from CustomJsonProperty<TOwner>)
Item[String]

Get and set the value in the automatic aggregation options. Null denotes missing key, setting value to null means to remove the key.

(Inherited from CustomJsonProperty<TOwner>)
Password

Password property or null if it's not set

PrivacySetting

Privacy setting from PrivacyClass or null if it's not present in the Credential property. Missing value is equivalent to the value of PrivacyClass.None.

Username

Username property or null if it's not set

Methods

ParseJson(String)

Parse a json string

(Inherited from CustomJsonProperty<TOwner>)
ToJson()

Format object as string

ToString()

Format object as string

(Inherited from CustomJsonProperty<TOwner>)

Applies to