SqlUserInteractionServices.GetElementName Method (IModelElement, Boolean, Boolean, Boolean)
Returns the element name for the specified model element.
Namespace: Microsoft.Data.Schema.Sql
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Overrides Function GetElementName ( _
element As IModelElement, _
escape As Boolean, _
fullName As Boolean, _
includeType As Boolean _
) As String
protected override string GetElementName(
IModelElement element,
bool escape,
bool fullName,
bool includeType
)
protected:
virtual String^ GetElementName(
IModelElement^ element,
bool escape,
bool fullName,
bool includeType
) override
abstract GetElementName :
element:IModelElement *
escape:bool *
fullName:bool *
includeType:bool -> string
override GetElementName :
element:IModelElement *
escape:bool *
fullName:bool *
includeType:bool -> string
protected override function GetElementName(
element : IModelElement,
escape : boolean,
fullName : boolean,
includeType : boolean
) : String
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element whose name that you want.
- escape
Type: System.Boolean
A value that indicates whether the name is escaped (by default, by using brackets).
- fullName
Type: System.Boolean
A value that indicates whether the full name of the model element is returned.
- includeType
Type: System.Boolean
A value that indicates whether the model element type should be returned as part of the name.
Return Value
Type: System.String
.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.