Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the file extension for model elements for the current DatabaseSchemaProvider when they are saved to a file.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overridable Function GetFileExtension ( _
elementType As ModelElementClass _
) As String
public virtual string GetFileExtension(
ModelElementClass elementType
)
public:
virtual String^ GetFileExtension(
ModelElementClass^ elementType
)
abstract GetFileExtension :
elementType:ModelElementClass -> string
override GetFileExtension :
elementType:ModelElementClass -> string
public function GetFileExtension(
elementType : ModelElementClass
) : String
Parameters
- elementType
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
The ModelElementClass metadata object for a ModelElement.
Return Value
Type: System.String
A string that contains the file extension. For SQL Server elements, the extension is ".sql".
.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.