Ejemplo n.º 1
0
        private void ExecuteDelete()
        {
            HttpStatusCode statusCode = StreamAnalyticsClient.RemovePSFunction(ResourceGroupName, JobName, Name);

            if (statusCode == HttpStatusCode.NoContent)
            {
                WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.FunctionNotFound, Name, JobName, ResourceGroupName));
            }
            else
            {
                WriteObject(true);
            }
        }
Ejemplo n.º 2
0
 private void ExecuteDelete()
 {
     StreamAnalyticsClient.RemovePSFunction(ResourceGroupName, JobName, Name);
     WriteObject(true);
 }