Share via


TeamFoundationSqlResourceComponent.BindXml Method (String, TeamFoundationDatabaseXmlWriter)

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, _
    xmlWriter As TeamFoundationDatabaseXmlWriter _
) As SqlParameter
protected SqlParameter BindXml(
    string parameterName,
    TeamFoundationDatabaseXmlWriter xmlWriter
)
protected:
SqlParameter^ BindXml(
    String^ parameterName, 
    TeamFoundationDatabaseXmlWriter^ xmlWriter
)
member BindXml : 
        parameterName:string * 
        xmlWriter:TeamFoundationDatabaseXmlWriter -> SqlParameter
protected function BindXml(
    parameterName : String, 
    xmlWriter : TeamFoundationDatabaseXmlWriter
) : SqlParameter

Parameters

  • parameterName
    Type: System.String

    Name of the parameter in the statement.

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