| Visual Basic (Declaration) | |
|---|---|
| Public Shared Function GetServiceStartMode( _ ByVal serviceName As String _ ) As StartMode | |
| C# | |
|---|---|
| public static StartMode GetServiceStartMode( string serviceName ) | |
Parameters
- serviceName
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family
 
     
     
     
     
    