次の方法で共有


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

パラメーター

  • escape
    型: System.Boolean
    名前をエスケープする (既定では、角かっこを使用する) かどうかを示す値。これは基本クラスでは無視されますが、派生クラスで使用できます。
  • fullName
    型: System.Boolean
    完全名が返されるかどうかを示す値。これは基本クラスでは無視されますが、派生クラスで使用できます。
  • includeType
    型: System.Boolean
    型が名前の一部として返されるかどうかを示す値。これは基本クラスでは無視されますが、派生クラスで使用できます。

戻り値

型: System.String

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

SqlUserInteractionServices クラス

Microsoft.Data.Schema.Sql 名前空間