Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Creates and adds a DataItem, with the specified table name, column name, and data type, to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
tableName As String, _
columnName As String, _
dataType As OleDbType _
) As DataItem
'Usage
Dim instance As DataItemCollection
Dim tableName As String
Dim columnName As String
Dim dataType As OleDbType
Dim returnValue As DataItem
returnValue = instance.Add(tableName, _
columnName, dataType)
public DataItem Add(
string tableName,
string columnName,
OleDbType dataType
)
public:
DataItem^ Add(
String^ tableName,
String^ columnName,
OleDbType dataType
)
member Add :
tableName:string *
columnName:string *
dataType:OleDbType -> DataItem
public function Add(
tableName : String,
columnName : String,
dataType : OleDbType
) : DataItem
Parameters
- tableName
Type: System.String
The table name of the DataItem to be added.
- columnName
Type: System.String
The column name of the DataItem to be added.
- dataType
Type: System.Data.OleDb.OleDbType
The OleDbType value of the DataItem to be added.
Return Value
Type: Microsoft.AnalysisServices.DataItem
A new DataItem with the specified table name, column name, and data type.