SqlUserInteractionServices.GetErrorMessageName 方法
傳回指定之錯誤訊息的名稱。
命名空間: Microsoft.Data.Schema.Sql
組件: Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)
語法
'宣告
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
參數
- errorMsg
型別:Microsoft.Data.Schema.Sql.SchemaModel.ISqlErrorMessage
錯誤訊息資訊。
- escape
型別:System.Boolean
指出是否應該逸出名稱的值 (預設會使用括弧)。這個基底類別中會忽略它,但是可用於衍生類別。
- fullName
型別:System.Boolean
指出是否傳回完整名稱的值。這個基底類別中會忽略它,但是可用於衍生類別。
- includeType
型別:System.Boolean
說明是否應該將型別做為名稱一部分傳回的值。這個基底類別中會忽略它,但是可用於衍生類別。
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。