다음을 통해 공유


ProviderDataSource Class

Definition

Represents a data source that uses a connection string for the connection.

public class ProviderDataSource : Microsoft.AnalysisServices.Tabular.DataSource
type ProviderDataSource = class
    inherit DataSource
Public Class ProviderDataSource
Inherits DataSource
Inheritance

Constructors

ProviderDataSource()

Create a new instance of the ProviderDataSource class with default settings..

Properties

Account

The user account used for impersonation.

Annotations

Gets the collection object of all annotations in the current DataSource.

(Inherited from DataSource)
ConnectionString

A string used to open the connection to the data source.

Description

The description of the data source, visible to developers at design time and to administrators in management tools, such as SQL Server Management Studio.

(Inherited from DataSource)
ExtendedProperties

Gets the collection object of all extendedproperties in the current DataSource.

(Inherited from DataSource)
ImpersonationMode

Determines how credentials are obtained for an impersonated connection to a data source during data import or refresh.

Isolation

Specifies the locking behavior of the SQL statements when executing commands against the data source. Valid values include ReadCommitted (default) which only reads from committed transactions, or Snapshot which can read any statement in a transaction that is transactionally consistent.

IsRemoved

A Boolean specifying whether this object was removed from an object tree.

(Inherited from MetadataObject)
MaxConnections

The maximum number of connections to be opened concurrently to the data source.

(Inherited from DataSource)
Model

Gets the Tabular model that contains this object.

(Inherited from MetadataObject)
ModifiedTime

The time that the object was last modified.

(Inherited from DataSource)
Name

Gets or Sets the Name of this object.

(Inherited from DataSource)
ObjectType

Gets the type of object.

(Inherited from MetadataObject)
Parent

Parent object, null for Model objects.

(Inherited from DataSource)
Password

The account password.

Provider

An optional string that identifies the name of the managed data provider for the data source.

Timeout

The timeout in seconds for commands executed against the data source.

Type

The type of DataSource. At present, the only possible value is Provider, which refers to a data source that accepts a connection string.

(Inherited from DataSource)

Methods

Clone()

Creates a new, full copy of a DataSource object.

(Inherited from DataSource)
CopyFrom(DataSource)
Obsolete.

Deprecated. Use CopyTo method instead.

(Inherited from DataSource)
CopyTo(DataSource)

Copies a DataSource object to the specified object.

(Inherited from DataSource)
Rename(String)
Obsolete.

Deprecated. Use RequestRename method instead.

(Inherited from DataSource)
RequestRename(String)

Request rename of this object.

(Inherited from DataSource)
Validate()

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

(Inherited from MetadataObject)

Applies to