Dela via


DataSource Class

Definition

Defines an open connection to an external data source for import, refresh, or DirectQuery operations on a Tabular Model.

public abstract class DataSource : Microsoft.AnalysisServices.Tabular.NamedMetadataObject
type DataSource = class
    inherit NamedMetadataObject
Public MustInherit Class DataSource
Inherits NamedMetadataObject
Inheritance
Derived

Properties

Annotations

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

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.

ExtendedProperties

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

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.

Model

Gets the Tabular model that contains this object.

(Inherited from MetadataObject)
ModifiedTime

The time that the object was last modified.

Name

Gets or Sets the Name of this object.

ObjectType

Gets the type of the object.

Parent

Parent object, null for Model objects.

Type

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

Methods

Clone()

Creates a new, full copy of a DataSource object.

CopyFrom(DataSource)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(DataSource)

Copies a DataSource object to the specified object.

Rename(String)
Obsolete.

Deprecated. Use RequestRename method instead.

RequestRename(String)

Request rename of this object.

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