Share via


DataItem Constructors

Definition

Overloads

DataItem()

Initializes a new instance of DataItem using default values.

DataItem(Binding)

Initializes a new instance of DataItem for the specified source.

DataItem(Binding, DataType)

Initializes a new instance of DataItem for the specified source with the specified type.

DataItem(Binding, OleDbType)

Initializes a new instance of DataItem for the specified source with the specified OleDbType.

DataItem(String, String)

Initializes a new instance of DataItem for the specified table and column.

DataItem(Binding, DataType, Int32)

Initializes a new instance of DataItem for the specified source with the specified type and data size.

DataItem(Binding, OleDbType, Int32)

Initializes a new instance of DataItem for the specified source with the specified OleDbType and data size.

DataItem(String, String, DataType)

Initializes a new instance of DataItem for the specified table and column with the specified type.

DataItem(String, String, OleDbType)

Initializes a new instance of DataItem for the specified table and column with the specified OleDbType.

DataItem(String, String, DataType, Int32)

Initializes a new instance of DataItem for the specified table and column with the specified type and data size.

DataItem(String, String, OleDbType, Int32)

Initializes a new instance of DataItem for the specified table and column with the specified OleDbType and data size.

DataItem()

Initializes a new instance of DataItem using default values.

public DataItem ();
Public Sub New ()

Applies to

DataItem(Binding)

Initializes a new instance of DataItem for the specified source.

public DataItem (Microsoft.AnalysisServices.Binding source);
new Microsoft.AnalysisServices.DataItem : Microsoft.AnalysisServices.Binding -> Microsoft.AnalysisServices.DataItem
Public Sub New (source As Binding)

Parameters

source
Binding

A Binding object that has the source of the data item.

Applies to

DataItem(Binding, DataType)

Initializes a new instance of DataItem for the specified source with the specified type.

public DataItem (Microsoft.AnalysisServices.Binding source, Microsoft.AnalysisServices.DataType type);
new Microsoft.AnalysisServices.DataItem : Microsoft.AnalysisServices.Binding * Microsoft.AnalysisServices.DataType -> Microsoft.AnalysisServices.DataItem
Public Sub New (source As Binding, type As DataType)

Parameters

source
Binding

Specifies a Binding object that has the source of the data item.

type
DataType

Specifies the type for the DataItem.

Applies to

DataItem(Binding, OleDbType)

Initializes a new instance of DataItem for the specified source with the specified OleDbType.

public DataItem (Microsoft.AnalysisServices.Binding source, System.Data.OleDb.OleDbType dataType);
new Microsoft.AnalysisServices.DataItem : Microsoft.AnalysisServices.Binding * System.Data.OleDb.OleDbType -> Microsoft.AnalysisServices.DataItem
Public Sub New (source As Binding, dataType As OleDbType)

Parameters

source
Binding

Specifies a Binding object that has the source of the data item.

dataType
OleDbType

Specifies an OleDbType type for DataItem.

Applies to

DataItem(String, String)

Initializes a new instance of DataItem for the specified table and column.

public DataItem (string tableName, string columnName);
new Microsoft.AnalysisServices.DataItem : string * string -> Microsoft.AnalysisServices.DataItem
Public Sub New (tableName As String, columnName As String)

Parameters

tableName
String

The name of the table.

columnName
String

The name of the column.

Applies to

DataItem(Binding, DataType, Int32)

Initializes a new instance of DataItem for the specified source with the specified type and data size.

public DataItem (Microsoft.AnalysisServices.Binding source, Microsoft.AnalysisServices.DataType type, int dataSize);
new Microsoft.AnalysisServices.DataItem : Microsoft.AnalysisServices.Binding * Microsoft.AnalysisServices.DataType * int -> Microsoft.AnalysisServices.DataItem
Public Sub New (source As Binding, type As DataType, dataSize As Integer)

Parameters

source
Binding

Specifies a Binding object that has the source of the data item.

type
DataType

Specifies the type for the DataItem.

dataSize
Int32

An integer value that specifies the data size.

Applies to

DataItem(Binding, OleDbType, Int32)

Initializes a new instance of DataItem for the specified source with the specified OleDbType and data size.

public DataItem (Microsoft.AnalysisServices.Binding source, System.Data.OleDb.OleDbType dataType, int dataSize);
new Microsoft.AnalysisServices.DataItem : Microsoft.AnalysisServices.Binding * System.Data.OleDb.OleDbType * int -> Microsoft.AnalysisServices.DataItem
Public Sub New (source As Binding, dataType As OleDbType, dataSize As Integer)

Parameters

source
Binding

Specifies a Binding object that has the source of the data item.

dataType
OleDbType

Specifies an OleDbType type for DataItem.

dataSize
Int32

An integer value that specifies the data size.

Applies to

DataItem(String, String, DataType)

Initializes a new instance of DataItem for the specified table and column with the specified type.

public DataItem (string tableName, string columnName, Microsoft.AnalysisServices.DataType type);
new Microsoft.AnalysisServices.DataItem : string * string * Microsoft.AnalysisServices.DataType -> Microsoft.AnalysisServices.DataItem
Public Sub New (tableName As String, columnName As String, type As DataType)

Parameters

tableName
String

The name of the table.

columnName
String

The name of the column.

type
DataType

Specifies the type for the DataItem.

Applies to

DataItem(String, String, OleDbType)

Initializes a new instance of DataItem for the specified table and column with the specified OleDbType.

public DataItem (string tableName, string columnName, System.Data.OleDb.OleDbType dataType);
new Microsoft.AnalysisServices.DataItem : string * string * System.Data.OleDb.OleDbType -> Microsoft.AnalysisServices.DataItem
Public Sub New (tableName As String, columnName As String, dataType As OleDbType)

Parameters

tableName
String

The name of the table.

columnName
String

The name of the column.

dataType
OleDbType

An OleDbType type for DataItem.

Applies to

DataItem(String, String, DataType, Int32)

Initializes a new instance of DataItem for the specified table and column with the specified type and data size.

public DataItem (string tableName, string columnName, Microsoft.AnalysisServices.DataType type, int dataSize);
new Microsoft.AnalysisServices.DataItem : string * string * Microsoft.AnalysisServices.DataType * int -> Microsoft.AnalysisServices.DataItem
Public Sub New (tableName As String, columnName As String, type As DataType, dataSize As Integer)

Parameters

tableName
String

The name of the table.

columnName
String

The name of the column.

type
DataType

Specifies the type for the DataItem.

dataSize
Int32

An integer value that specifies the data size.

Applies to

DataItem(String, String, OleDbType, Int32)

Initializes a new instance of DataItem for the specified table and column with the specified OleDbType and data size.

public DataItem (string tableName, string columnName, System.Data.OleDb.OleDbType dataType, int dataSize);
new Microsoft.AnalysisServices.DataItem : string * string * System.Data.OleDb.OleDbType * int -> Microsoft.AnalysisServices.DataItem
Public Sub New (tableName As String, columnName As String, dataType As OleDbType, dataSize As Integer)

Parameters

tableName
String

The name of the table.

columnName
String

The name of the column.

dataType
OleDbType

An OleDbType type for DataItem.

dataSize
Int32

An integer value that specifies the data size.

Applies to