AdysTech.InfluxDB.Client.Net.InfluxContinuousQuery.GetDropSyntax C# (CSharp) Method

GetDropSyntax() private method

private GetDropSyntax ( ) : string
return string
        internal string GetDropSyntax ()
        {
            if (!String.IsNullOrWhiteSpace (DBName) && !String.IsNullOrWhiteSpace (Name))
            {
                return $"DROP CONTINUOUS QUERY \"{Name}\" ON \"{DBName}\"";
            }
            else if (String.IsNullOrWhiteSpace (Name))
                throw new ArgumentException ("CQ Name not set");
            else if (String.IsNullOrWhiteSpace (DBName))
                throw new ArgumentException ("DBName for CQ is not set");
            return null;
        }
    }