Метод DataItemCollection.Add (String, String, OleDbType, Int32)
Creates and adds a DataItem, with the specified table name, column name, data type, and data size, to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
tableName As String, _
columnName As String, _
dataType As OleDbType, _
dataSize As Integer _
) As DataItem
'Применение
Dim instance As DataItemCollection
Dim tableName As String
Dim columnName As String
Dim dataType As OleDbType
Dim dataSize As Integer
Dim returnValue As DataItem
returnValue = instance.Add(tableName, _
columnName, dataType, dataSize)
public DataItem Add(
string tableName,
string columnName,
OleDbType dataType,
int dataSize
)
public:
DataItem^ Add(
String^ tableName,
String^ columnName,
OleDbType dataType,
int dataSize
)
member Add :
tableName:string *
columnName:string *
dataType:OleDbType *
dataSize:int -> DataItem
public function Add(
tableName : String,
columnName : String,
dataType : OleDbType,
dataSize : int
) : DataItem
Параметры
- tableName
Тип: System.String
The table name of the DataItem to be added.
- columnName
Тип: System.String
The column name of the DataItem to be added.
- dataType
Тип: System.Data.OleDb.OleDbType
The OleDbType value of the DataItem to be added.
- dataSize
Тип: System.Int32
The data size, in bytes, of the DataItem to be added.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.DataItem
A new DataItem with the specified table name, column name, data type, and data size.