Services Property
See Also 
SourceCode.Configuration Namespace > EnvironmentElement Class : Services Property



Glossary Item Box

Syntax

Visual Basic (Declaration)  
<ConfigurationPropertyAttribute(Name="services", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property Services As EnvironmentServiceCollection
Visual Basic (Usage) Copy Code
Dim instance As EnvironmentElement
Dim value As EnvironmentServiceCollection
 
instance.Services = value
 
value = instance.Services
C#  
[ConfigurationProperty(Name="services", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public EnvironmentServiceCollection Services {get; set;}
C++/CLI  
[ConfigurationProperty(Name="services", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property EnvironmentServiceCollection^ Services {
   EnvironmentServiceCollection^ get();
   void set (    EnvironmentServiceCollection^ value);
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also