ManagedComputer Class

The ManagedComputer class represents a Windows Management Instrumentation (WMI) installation on an instance of Microsoft SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public NotInheritable Class ManagedComputer _
    Inherits WmiSmoObject
'Usage
Dim instance As ManagedComputer
public sealed class ManagedComputer : WmiSmoObject
public ref class ManagedComputer sealed : public WmiSmoObject
[<SealedAttribute>]
type ManagedComputer =  
    class
        inherit WmiSmoObject
    end
public final class ManagedComputer extends WmiSmoObject

Remarks

With the ManagedComputer class you can:

  • Access client protocols.

  • Access connection settings.

  • Access server aliases.

  • Access instances of SQL Server.

  • Access SQL Server services.

To get or set ManagedComputer object properties or run ManagedComputer methods, users must be a member of the sysadmin fixed server role.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
      Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.