共用方式為


TeamFoundationSqlResourceComponent.BindString Method (String, String, Int32, Boolean, SqlDbType)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'宣告
Protected Function BindString ( _
    parameterName As String, _
    parameterValue As String, _
    maxLength As Integer, _
    allowNull As Boolean, _
    dbType As SqlDbType _
) As SqlParameter
protected SqlParameter BindString(
    string parameterName,
    string parameterValue,
    int maxLength,
    bool allowNull,
    SqlDbType dbType
)
protected:
SqlParameter^ BindString(
    String^ parameterName, 
    String^ parameterValue, 
    int maxLength, 
    bool allowNull, 
    SqlDbType dbType
)
member BindString : 
        parameterName:string * 
        parameterValue:string * 
        maxLength:int * 
        allowNull:bool * 
        dbType:SqlDbType -> SqlParameter 
protected function BindString(
    parameterName : String, 
    parameterValue : String, 
    maxLength : int, 
    allowNull : boolean, 
    dbType : SqlDbType
) : SqlParameter

Parameters

Return Value

Type: System.Data.SqlClient.SqlParameter

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

BindString Overload

Microsoft.TeamFoundation.Framework.Server Namespace