public void GetMaintenanceStatus()
        {
            // Snippet: GetMaintenanceStatus
            MetadataClient    client = MetadataClient.Create();
            MaintenanceStatus status = client.GetMaintenanceStatus();

            if (status == MaintenanceStatus.Migrate)
            {
                // Backup data
            }
            // End snippet

            Assert.Equal(MaintenanceStatus.None, status);
        }