Share via


DataSource Class

Definition

Represents a data source in a SharePoint library.

public ref class DataSource
public class DataSource
type DataSource = class
Public Class DataSource
Inheritance
DataSource

Remarks

DataSource is returned as output by the GetItemDataSources method and is passed as input to the SetItemDataSources method.

Constructors

DataSource()

Initializes a new instance of the DataSource class.

Properties

Item

Gets or sets the value that indicates whether the DataSource refers to a data source definition (DataSourceDefinition object) or a shared data source (DataSourceReference object).

Name

Gets or sets the name of the data source.

Applies to