Sets the name of the document target.

<void> DocumentTarget.setTargetName(<string> targetName, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
targetName The document target's name.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.