예제 #1
0
        public static SubscriptionCollection GetSubscriptions(string targetLocation)
        {
            string blobPath = SubscriptionCollection.GetRelativeLocationAsMetadataTo(targetLocation);
            var    result   = StorageSupport.RetrieveInformation(blobPath, typeof(SubscriptionCollection));

            return((SubscriptionCollection)result);
        }
예제 #2
0
        public static void DeleteSubscriptions(string targetLocation)
        {
            string blobPath = SubscriptionCollection.GetRelativeLocationAsMetadataTo(targetLocation);

            StorageSupport.DeleteBlob(blobPath);
        }