SqlUserInteractionServices.GetParameterName 方法

获取指定参数的名称。

命名空间:  Microsoft.Data.Schema.Sql
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)

语法

声明
Protected Overridable Function GetParameterName ( _
    element As ISqlSubroutineParameter, _
    escape As Boolean, _
    fullName As Boolean, _
    includeType As Boolean _
) As String
protected virtual string GetParameterName(
    ISqlSubroutineParameter element,
    bool escape,
    bool fullName,
    bool includeType
)
protected:
virtual String^ GetParameterName(
    ISqlSubroutineParameter^ element, 
    bool escape, 
    bool fullName, 
    bool includeType
)
abstract GetParameterName : 
        element:ISqlSubroutineParameter * 
        escape:bool * 
        fullName:bool * 
        includeType:bool -> string 
override GetParameterName : 
        element:ISqlSubroutineParameter * 
        escape:bool * 
        fullName:bool * 
        includeType:bool -> string 
protected function GetParameterName(
    element : ISqlSubroutineParameter, 
    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 命名空间