SqlScriptDomGenerator.IsSupported Method
Checks to see whether the ScriptDOM operation is supported for the specified element type.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Overrides Function IsSupported ( _
elementClass As ModelElementClass, _
operation As ScriptDomOperation _
) As Boolean
public override bool IsSupported(
ModelElementClass elementClass,
ScriptDomOperation operation
)
public:
virtual bool IsSupported(
ModelElementClass^ elementClass,
ScriptDomOperation operation
) override
abstract IsSupported :
elementClass:ModelElementClass *
operation:ScriptDomOperation -> bool
override IsSupported :
elementClass:ModelElementClass *
operation:ScriptDomOperation -> bool
public override function IsSupported(
elementClass : ModelElementClass,
operation : ScriptDomOperation
) : boolean
Parameters
- elementClass
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
The type of element.
- operation
Type: Microsoft.Data.Schema.SchemaModel.ScriptDomOperation
The ScriptDOM generation operation.
Return Value
Type: System.Boolean
.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.