다음을 통해 공유


TeamFoundationSqlResourceComponent.BindGuid Method

This is a helper function that handles binding GUIDs to their sqlparameters.

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

Syntax

'Declaration
Protected Function BindGuid ( _
    parameterName As String, _
    parameterValue As Guid _
) As SqlParameter
protected SqlParameter BindGuid(
    string parameterName,
    Guid parameterValue
)
protected:
SqlParameter^ BindGuid(
    String^ parameterName, 
    Guid parameterValue
)
member BindGuid : 
        parameterName:string * 
        parameterValue:Guid -> SqlParameter
protected function BindGuid(
    parameterName : String, 
    parameterValue : Guid
) : SqlParameter

Parameters

  • parameterName
    Type: System.String

    Name of the parameter in the statement

  • parameterValue
    Type: System.Guid

    Value of the parameter.

Return Value

Type: System.Data.SqlClient.SqlParameter
The newly created and initialized sqlparameter.

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace