Share via


ServerInstance Class

Definition

Instance class encapsulating : ManagedComputer[@Name='']/ServerInstance

public sealed class ServerInstance : Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
type ServerInstance = class
    inherit WmiSmoObject
Public NotInheritable Class ServerInstance
Inherits WmiSmoObject
Inheritance

Properties

Name (Inherited from WmiSmoObject)
Parent
Properties

The property bag of the object

(Inherited from WmiSmoObject)
ServerProtocols
State

Returns the state of the object

(Inherited from SmoObjectBase)
Urn

Returns the Urn of the object, computed on the fly

(Inherited from WmiSmoObject)
UserData (Inherited from SmoObjectBase)

Methods

AlterProtocolProperties(ProtocolPropertyCollection) (Inherited from WmiSmoObject)
CheckObjectState() (Inherited from WmiSmoObject)
CreateProtocolPropertyCollection() (Inherited from WmiSmoObject)
GetPropertyManagementObject(ProtocolProperty) (Inherited from WmiSmoObject)
GetPropertyObject(PropertyCollection, DataRow, Object) (Inherited from WmiSmoObject)
GetProtocolPropertyCollection() (Inherited from WmiSmoObject)
ImplInitialize(String[], OrderBy[]) (Inherited from WmiSmoObject)
Initialize()

Initializes the object, by reading its properties from the enumerator

(Inherited from WmiSmoObject)
InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])

Wraps InvokeMethod calls. When the call fails, returned error codes
are mapped into exceptions.

(Inherited from WmiSmoObject)
InvokeMgmtMethod(ManagementObject, String, Object[]) (Inherited from WmiSmoObject)
IsObjectInitialized() (Inherited from WmiSmoObject)
Refresh() (Inherited from WmiSmoObject)
SetName(String) (Inherited from WmiSmoObject)
SetParentImpl(WmiSmoObject) (Inherited from WmiSmoObject)
SetState(SqlSmoState)

Sets the object state (Existing, Dropped etc.) Applications should avoid using this method.

(Inherited from SmoObjectBase)
UpdateObjectState() (Inherited from WmiSmoObject)
Validate(String, Object[]) (Inherited from SmoObjectBase)

Applies to