ArcGIS API for JavaScript: SharingReferencedDataFromDW_Delete (MapServer)
Built using the ArcGIS API for JavaScript