Compartilhar via


Método SchemaCompareScriptService.GetContainingElement

Retorna o elemento que contém o script para o elemento fornecido.

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (em Microsoft.Data.Schema.Tools.dll)

Sintaxe

'Declaração
Public Overridable Function GetContainingElement ( _
    modelElement As IModelElement _
) As IModelElement
public virtual IModelElement GetContainingElement(
    IModelElement modelElement
)
public:
virtual IModelElement^ GetContainingElement(
    IModelElement^ modelElement
)
abstract GetContainingElement : 
        modelElement:IModelElement -> IModelElement 
override GetContainingElement : 
        modelElement:IModelElement -> IModelElement 
public function GetContainingElement(
    modelElement : IModelElement
) : IModelElement

Parâmetros

Valor de retorno

Tipo: Microsoft.Data.Schema.SchemaModel.IModelElement
An IModelElement.

Segurança do .NET Framework

Consulte também

Referência

SchemaCompareScriptService Classe

Namespace Microsoft.Data.Schema.Tools.Compare.Schema

IModelElement