NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SQLDataSetCommand SchemaMapping Event

Occurs after the schema is mapped from the data source to the data set but before the tables and columns are added to the data set.

The following declaration shows the syntax for a method that handles the SchemaMapping event.

[Visual Basic]
Private Sub SQLDataSetCommandName_SchemaMapping( _
   ByVal sender As Object, _
   ByVal e As SQLSchemaMappingEventArgs _
)
[C#]
private void SQLDataSetCommandName_SchemaMapping(
   object sender,
   SQLSchemaMappingEventArgs e
);
[C++]
private: void SQLDataSetCommandName_SchemaMapping(
   Object* sender,
   SQLSchemaMappingEventArgs* e
);
[JScript]
private SQLDataSetCommandName_SchemaMapping(
   sender : Object,
   e : SQLSchemaMappingEventArgs
);

Parameters

sender
The source of the event.
e
A SQLSchemaMappingEventArgs that contains the event data. The following SQLSchemaMappingEventArgs properties provide information specific to this event.
Property Description
Command
[To be supplied.]

See Also

SQLDataSetCommand Class | SQLDataSetCommand MembersTopic | System.Data.SQL Namespace