Use SingleMetricAnomalyDetector.Namespace property.
The namespace of the metric associated with the anomaly detection model.