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.StringName of the parameter in the statement.
parameterValue
Type: System.StringString that represents the document.
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.