SchemaModelEventArgs Constructor (DataSchemaModel, ModelEventType)
Initializes a new instance of the SchemaModelEventArgs class.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
model As DataSchemaModel, _
type As ModelEventType _
)
'Usage
Dim model As DataSchemaModel
Dim type As ModelEventType
Dim instance As New SchemaModelEventArgs(model, type)
public SchemaModelEventArgs(
DataSchemaModel model,
ModelEventType type
)
public:
SchemaModelEventArgs(
DataSchemaModel^ model,
ModelEventType type
)
public function SchemaModelEventArgs(
model : DataSchemaModel,
type : ModelEventType
)
new :
model:DataSchemaModel *
type:ModelEventType -> SchemaModelEventArgs
Parameters
- model
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
The data schema model
- type
Type: Microsoft.Data.Schema.SchemaModel.ModelEventType
The model event type
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.