Visual Basic (Declaration) | |
---|---|
Public Shared Function SetServiceStartMode( _ ByVal serviceName As String, _ ByVal startMode As StartMode, _ ByRef retValue As UInteger _ ) As Boolean |
C# | |
---|---|
public static bool SetServiceStartMode( string serviceName, StartMode startMode, out uint retValue ) |
Parameters
- serviceName
- startMode
- retValue
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family