Republishes the specified published document. The specified published document must have been published with a publish template that still exists and had this
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Document
object as its source document. This method returns the PublishRequest
object that is queued for this request. All publish requests are asynchronous, including copy operations, which do not transform the document. A publish request is always enqueued, and a copy of the PublishRequest
object is always returned to the caller. The
parameter is a string containing XML that specifies the publish options for the republished document. See Publish Options XML for more information.
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Function Republish( _ ByVal publication As IDocument, _ ByVal publishOptions As String _ ) As IPublishRequest |
C# |
---|
IPublishRequest Republish( IDocument publication, string publishOptions ) |
C++ |
---|
IPublishRequest Republish( IDocument publication, String publishOptions ) abstract |
J# |
---|
IPublishRequest Republish( IDocument publication, string publishOptions ) |
JScript |
---|
function Republish( publication : IDocument, publishOptions : String ) : IPublishRequest |
Parameters
- publication
- The
object to be republished.Document
- publishOptions
- A
containing XML that specifies the publish options for the republished document. Can beString
, in which case the values for the publication name, output folder, and eventaction are as specified in the associated publish template.null
Return Value
The
object that is queued for this request.