Delen via


SqlServerDataFeedSource Constructors

Definition

Overloads

SqlServerDataFeedSource(String)

Initializes a new instance of the SqlServerDataFeedSource class. This constructor does not set a Azure.AI.MetricsAdvisor.Administration.SqlServerDataFeedSource.ConnectionString, so you must assign an SqlServerDataFeedSource.AuthenticationType to the Authentication property. Currently, only the SqlConnectionString authentication is supported without a connection string. If you intend to use another type of authentication, see SqlServerDataFeedSource(String, String).

SqlServerDataFeedSource(String, String)

Initializes a new instance of the SqlServerDataFeedSource class. This constructor requires a connectionString and is intended to be used with the authentication types Basic (default), ManagedIdentity, ServicePrincipal, or ServicePrincipalInKeyVault. If you intend to use SqlConnectionString authentication, see SqlServerDataFeedSource(String).

SqlServerDataFeedSource(String)

Source:
SqlServerDataFeedSource.cs

Initializes a new instance of the SqlServerDataFeedSource class. This constructor does not set a Azure.AI.MetricsAdvisor.Administration.SqlServerDataFeedSource.ConnectionString, so you must assign an SqlServerDataFeedSource.AuthenticationType to the Authentication property. Currently, only the SqlConnectionString authentication is supported without a connection string. If you intend to use another type of authentication, see SqlServerDataFeedSource(String, String).

public SqlServerDataFeedSource (string query);
new Azure.AI.MetricsAdvisor.Administration.SqlServerDataFeedSource : string -> Azure.AI.MetricsAdvisor.Administration.SqlServerDataFeedSource
Public Sub New (query As String)

Parameters

query
String

The query to retrieve the data to be ingested.

Exceptions

query is null.

query is empty.

Applies to

SqlServerDataFeedSource(String, String)

Source:
SqlServerDataFeedSource.cs

Initializes a new instance of the SqlServerDataFeedSource class. This constructor requires a connectionString and is intended to be used with the authentication types Basic (default), ManagedIdentity, ServicePrincipal, or ServicePrincipalInKeyVault. If you intend to use SqlConnectionString authentication, see SqlServerDataFeedSource(String).

public SqlServerDataFeedSource (string connectionString, string query);
new Azure.AI.MetricsAdvisor.Administration.SqlServerDataFeedSource : string * string -> Azure.AI.MetricsAdvisor.Administration.SqlServerDataFeedSource
Public Sub New (connectionString As String, query As String)

Parameters

connectionString
String

The connection string.

query
String

The query to retrieve the data to be ingested.

Exceptions

connectionString or query is null.

connectionString or query is empty.

Applies to