示例#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);
        }