public static SubscriptionCollection GetSubscriptions(string targetLocation) { string blobPath = SubscriptionCollection.GetRelativeLocationAsMetadataTo(targetLocation); var result = StorageSupport.RetrieveInformation(blobPath, typeof(SubscriptionCollection)); return((SubscriptionCollection)result); }
public static void DeleteSubscriptions(string targetLocation) { string blobPath = SubscriptionCollection.GetRelativeLocationAsMetadataTo(targetLocation); StorageSupport.DeleteBlob(blobPath); }