This is preliminary documentation and subject to change. To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
DataTableMappings.GetTableMappingBySchemaAction
[To be supplied.]
[Visual Basic]
Public Function GetTableMappingBySchemaAction( _
ByVal sourceTable As String, _ ByVal dataSetTable As String, _ ByVal mappingAction As MissingMappingAction _) As DataTableMapping[C#]
public DataTableMapping GetTableMappingBySchemaAction(
string sourceTable, string dataSetTable, MissingMappingAction mappingAction);[C++]
public: DataTableMapping* GetTableMappingBySchemaAction(
String* sourceTable, String* dataSetTable, MissingMappingAction mappingAction);[JScript]
public function GetTableMappingBySchemaAction(
sourceTable : String,dataSetTable : String,mappingAction : MissingMappingAction) : DataTableMapping;
Parameters
sourceTable
which SourceTable to match
dataSetTable
if SourceTable doesn't exist and MissingAction is Passthrough and DataSet is not null then SourceTable append with an increasing number, i.e. Table, Table1, Table2, Table3 is used until a unique table name is found in the dataset for the DataSetTable name if null then the SourceTable name is used as is
mappingAction
the mapping action to apply if the SourceTable isn't found in the collection .Passthrough: create a new TableMapping, see param term 'DataSet' .Ignore: return null .Error: throw an exception