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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.