Get Task Output Target References
The following example gets information about the objects such as report execution scheduled tasks and report binder execution scheduled tasks that reference a task output target.
- Connect to the administration web service.
- A task output target cannot be deleted whist it is referenced by other objects.
- The unique identifiers specified are in GUID format.
Code Sample
# Gets information about the objects that reference the specified task output target.
$references = $administration.GET_TaskOutputTargetReferences("26b9ad46-e799-4f22-a1fc-e49083c522ec");
foreach ($reference in $references)
{
Write-Host $reference.DisplayName;
Write-Host $reference.Identifier;
Write-Host $reference.ReferenceType;
Write-Host
}