SqlUserInteractionServices.GetErrorMessageName Method
Returns the name for the specified error message.
Namespace: Microsoft.Data.Schema.Sql
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Overridable Function GetErrorMessageName ( _
errorMsg As ISqlErrorMessage, _
escape As Boolean, _
fullName As Boolean, _
includeType As Boolean _
) As String
protected virtual string GetErrorMessageName(
ISqlErrorMessage errorMsg,
bool escape,
bool fullName,
bool includeType
)
protected:
virtual String^ GetErrorMessageName(
ISqlErrorMessage^ errorMsg,
bool escape,
bool fullName,
bool includeType
)
abstract GetErrorMessageName :
errorMsg:ISqlErrorMessage *
escape:bool *
fullName:bool *
includeType:bool -> string
override GetErrorMessageName :
errorMsg:ISqlErrorMessage *
escape:bool *
fullName:bool *
includeType:bool -> string
protected function GetErrorMessageName(
errorMsg : ISqlErrorMessage,
escape : boolean,
fullName : boolean,
includeType : boolean
) : String
Parameters
- errorMsg
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlErrorMessage
The error message information.
- escape
Type: System.Boolean
A value that indicates whether the name should be escaped (by default, by using brackets). This is ignored in this base class, but can be used in derived classes.
- fullName
Type: System.Boolean
A value that indicates whether the full name is returned. This is ignored in this base class, but can be used in derived classes.
- includeType
Type: System.Boolean
A value that indicates whether the type should be returned as part of the name. This is ignored in this base class, but can be used in derived classes.
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.