Relates a user-defined name to a document target.

<void> DocumentTarget.getName(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the name of the document target.
errorCallback Optional. Is called when the operation failed with an error.