Partager via


AutoscalingSettings.RulesStores Property

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

[CommandAttribute("Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration.Design.ViewModel.Commands.ElementCollectionSetCommand, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration", CommandPlacement = CommandPlacement.ContextAdd, 
    Replace = CommandReplacement.DefaultAddCommandReplacement)]
[ConfigurationPropertyAttribute("rulesStores", IsRequired = true)]
[ConfigurationCollectionAttribute(typeof(RulesStoreData))]
[ViewModelAttribute("Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration.Design.ViewModel.RulesStoreElementCollectionViewModel, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration")]
public NameTypeConfigurationElementCollection<RulesStoreData, CustomRulesStoreData> RulesStores { get; }
'Declaration
<CommandAttribute("Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration.Design.ViewModel.Commands.ElementCollectionSetCommand, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration", CommandPlacement := CommandPlacement.ContextAdd,  _
    Replace := CommandReplacement.DefaultAddCommandReplacement)> _
<ConfigurationPropertyAttribute("rulesStores", IsRequired := True)> _
<ConfigurationCollectionAttribute(GetType(RulesStoreData))> _
<ViewModelAttribute("Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration.Design.ViewModel.RulesStoreElementCollectionViewModel, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration")> _
Public ReadOnly Property RulesStores As NameTypeConfigurationElementCollection(Of RulesStoreData, CustomRulesStoreData)
    Get
[CommandAttribute(L"Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration.Design.ViewModel.Commands.ElementCollectionSetCommand, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration", CommandPlacement = CommandPlacement::ContextAdd, 
    Replace = CommandReplacement::DefaultAddCommandReplacement)]
[ConfigurationPropertyAttribute(L"rulesStores", IsRequired = true)]
[ConfigurationCollectionAttribute(typeof(RulesStoreData))]
[ViewModelAttribute(L"Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration.Design.ViewModel.RulesStoreElementCollectionViewModel, Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration")]
public:
property NameTypeConfigurationElementCollection<RulesStoreData^, CustomRulesStoreData^>^ RulesStores {
    NameTypeConfigurationElementCollection<RulesStoreData^, CustomRulesStoreData^>^ get ();
}

See Also

AutoscalingSettings Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration Namespace