SPWindowsServiceInstance.Enable(String, Boolean) SPWindowsServiceInstance.Enable(String, Boolean) SPWindowsServiceInstance.Enable(String, Boolean) Method

Definition

protected public:
 static void Enable(System::String ^ serviceName, bool autoStart);
protected internal static void Enable (string serviceName, bool autoStart);
Protected Friend Shared Sub Enable (serviceName As String, autoStart As Boolean)
Parameters
serviceName
String String String
autoStart
Boolean Boolean Boolean

Applies to