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)


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


  • 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


TeamFoundationSqlResourceComponent Class

BindXml Overload

Microsoft.TeamFoundation.Framework.Server Namespace