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.StringName of the parameter in the statement.
Return Value
Type: System.Data.SqlClient.SqlParameter
The newly added SqlParameter for this statement.
.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.