ScriptDomGenerator.GenerateScriptDom Method
Generates an IScriptFragment.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overridable Function GenerateScriptDom ( _
element As IModelElement, _
operation As ScriptDomOperation _
) As IScriptFragment
public virtual IScriptFragment GenerateScriptDom(
IModelElement element,
ScriptDomOperation operation
)
public:
virtual IScriptFragment^ GenerateScriptDom(
IModelElement^ element,
ScriptDomOperation operation
)
abstract GenerateScriptDom :
element:IModelElement *
operation:ScriptDomOperation -> IScriptFragment
override GenerateScriptDom :
element:IModelElement *
operation:ScriptDomOperation -> IScriptFragment
public function GenerateScriptDom(
element : IModelElement,
operation : ScriptDomOperation
) : IScriptFragment
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The source IModelElement.
- operation
Type: Microsoft.Data.Schema.SchemaModel.ScriptDomOperation
The ScriptDomOperation to perform.
Return Value
Type: Microsoft.Data.Schema.ScriptDom.IScriptFragment
An 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.