Elastacloud.AzureManagement.Fluent.Clients.MobileServiceClient.GetScaleSettings C# (CSharp) Method

GetScaleSettings() private method

Gets the webspace properties that will allow the manipulation of the scale
private GetScaleSettings ( ) : void
return void
        private void GetScaleSettings()
        {
            var command = new GetScaleSettingsCommand(MobileServiceName)
                {
                    SubscriptionId = SubscriptionId,
                    Certificate = ManagementCertificate
                };
            command.Execute();
            TotalInstanceCount = command.ScaleSettings.InstanceCount;
            ComputeMode = command.ScaleSettings.ComputeMode;
        }