Get Azure service bus queue status using NServiceBus

azure - ping the service bus using queueClient - Stack Overflow provides the following code to get the queue status:

string connectionString = "connection string";
var namespaceManager = NamespaceManager.CreateFromConnectionString(connectionString);
var queueDescription = namespaceManager.GetQueue("queue name");
var status = queueDescription.Status;

How can I do that using NServiceBus?

I was hoping to use IEndpointInstance but it doesn’t have many methods.

Hi @David.Klempfner

as mentioned by Sean you need to use Azure Service Bus SDK directly to get the status.