ModelStore.CleanupExternalProperty Method
When implemented in a derived class, releases resources that are used by an external property when the element is deleted.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Sub CleanupExternalProperty ( _
element As IModelElement, _
propertyClass As ModelPropertyClass _
)
protected virtual void CleanupExternalProperty(
IModelElement element,
ModelPropertyClass propertyClass
)
protected:
virtual void CleanupExternalProperty(
IModelElement^ element,
ModelPropertyClass^ propertyClass
)
abstract CleanupExternalProperty :
element:IModelElement *
propertyClass:ModelPropertyClass -> unit
override CleanupExternalProperty :
element:IModelElement *
propertyClass:ModelPropertyClass -> unit
protected function CleanupExternalProperty(
element : IModelElement,
propertyClass : ModelPropertyClass
)
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
An IModelElement object.
- propertyClass
Type: Microsoft.Data.Schema.SchemaModel.ModelPropertyClass
A ModelPropertyClass object.
.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.