MarkLogic XDBC.NET Library

IXdbcCommand.SetDateTime Method (XmlQualifiedName, DateTime)

Binds the variable's value to the argument value. The variable should be of type xs:dateTime.

[Visual Basic]
Sub SetDateTime( _
   ByVal name As XmlQualifiedName, _
   ByVal value As Date _
)
[C#]
void SetDateTime(
   XmlQualifiedName name,
   DateTime value
);

Parameters

name
The extended name of the variable to set.
value
The date value to set.

Exceptions

Exception TypeCondition
XdbcExceptionIf a database access error occurs

See Also

IXdbcCommand Interface | MarkLogic.Xdbc Namespace | IXdbcCommand.SetDateTime Overload List