DataItemCollection.Add 메서드 (String, String, OleDbType)

Creates and adds a DataItem, with the specified table name, column name, and data type, 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 _
) As DataItem
‘사용 방법
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

매개 변수

반환 값

유형: Microsoft.AnalysisServices.DataItem
A new DataItem with the specified table name, column name, and data type.

참고 항목

참조

DataItemCollection 클래스

Add 오버로드

Microsoft.AnalysisServices 네임스페이스