Service.Pause Method
Pauses the SQL Server service.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public Sub Pause
'Usage
Dim instance As Service
instance.Pause()
public void Pause()
public:
void Pause()
member Pause : unit -> unit
public function Pause()
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace