3.1.5.141 proc_HasCurrentPublishVersion

The proc_HasCurrentPublishVersion stored procedure is invoked to test whether the specified list item has a current published version.

 PROCEDURE proc_HasCurrentPublishVersion (
     @ListId         uniqueidentifier,
     @ItemId         int,
     @RequestGuid    uniqueidentifier = null OUTPUT
 );

@ListId: The list identifier (section 2.2.1.5) of the list that contains the specified list item.

@ItemId: The list item identifier (section 2.2.1.6) of the specified list item.

@RequestGuid: The optional request identifier for the current request.

Return values: This stored procedure returns an integer return code, which MUST be included in the following table.

Value

Description

0

The specified list item does not have a current published version.

1

The specified list item has a current published version.

The proc_HasCurrentPublishVersion stored procedure MUST NOT return a result set.