DataItemCollection.Add 方法 (String, String)
Creates and adds a DataItem, with the specified table name and column name, to the end of the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function Add ( _
tableName As String, _
columnName As String _
) As DataItem
'用途
Dim instance As DataItemCollection
Dim tableName As String
Dim columnName As String
Dim returnValue As DataItem
returnValue = instance.Add(tableName, _
columnName)
public DataItem Add(
string tableName,
string columnName
)
public:
DataItem^ Add(
String^ tableName,
String^ columnName
)
member Add :
tableName:string *
columnName:string -> DataItem
public function Add(
tableName : String,
columnName : String
) : 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.
傳回值
型別:Microsoft.AnalysisServices.DataItem
A new DataItem with the specified table name and column name.