Share via


TeamFoundationSqlResourceComponent.BindXml Method (String, String)

Used to bind an XML document to an XML parameter.

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

Syntax

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

Parameters

  • parameterName
    Type: System.String

    Name of the parameter in the statement.

  • parameterValue
    Type: System.String

    String that represents the document.

Return Value

Type: System.Data.SqlClient.SqlParameter
The newly added [SQLParameter] for this statement.

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

BindXml Overload

Microsoft.TeamFoundation.Framework.Server Namespace