ScriptDomGenerator.IsSupported Method
Returns a value that indicates whether the provided script operation is supported for the given element type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public MustOverride Function IsSupported ( _
elementClass As ModelElementClass, _
operation As ScriptDomOperation _
) As Boolean
public abstract bool IsSupported(
ModelElementClass elementClass,
ScriptDomOperation operation
)
public:
virtual bool IsSupported(
ModelElementClass^ elementClass,
ScriptDomOperation operation
) abstract
abstract IsSupported :
elementClass:ModelElementClass *
operation:ScriptDomOperation -> bool
public abstract function IsSupported(
elementClass : ModelElementClass,
operation : ScriptDomOperation
) : boolean
Parameters
- elementClass
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
A ModelElementClass metadata object.
- operation
Type: Microsoft.Data.Schema.SchemaModel.ScriptDomOperation
A ScriptDomOperation that represents the operation to perform.
Return Value
Type: System.Boolean
true if the operation is supported; otherwise, false.
.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.