MarkLogic XDBC.NET Library

IXdbcCommand.SetDuration Method 

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

[Visual Basic]
Sub SetDuration( _
   ByVal name As XmlQualifiedName, _
   ByVal value As XdbcDuration _
)
[C#]
void SetDuration(
   XmlQualifiedName name,
   XdbcDuration value
);

Parameters

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

Exceptions

Exception TypeCondition
XdbcExceptionIf a database access error occurs

See Also

IXdbcCommand Interface | MarkLogic.Xdbc Namespace