ManagedComputer 类

定义

public sealed class ManagedComputer : Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
type ManagedComputer = class
    inherit WmiSmoObject
Public NotInheritable Class ManagedComputer
Inherits WmiSmoObject
继承

构造函数

名称 说明
ManagedComputer()
ManagedComputer(String, String, String, ProviderArchitecture)
ManagedComputer(String, String, String)
ManagedComputer(String)

属性

名称 说明
ClientProtocols
ConnectionSettings
Name (继承自 WmiSmoObject)
Properties

对象的属性包

(继承自 WmiSmoObject)
ServerAliases
ServerInstances
Services
State

返回对象的状态

(继承自 SmoObjectBase)
Urn

返回动态计算的对象 Urn

(继承自 WmiSmoObject)
UserData (继承自 SmoObjectBase)

方法

名称 说明
AlterProtocolProperties(ProtocolPropertyCollection) (继承自 WmiSmoObject)
CheckObjectState() (继承自 WmiSmoObject)
CreateProtocolPropertyCollection() (继承自 WmiSmoObject)
GetPropertyManagementObject(ProtocolProperty) (继承自 WmiSmoObject)
GetPropertyObject(PropertyCollection, DataRow, Object) (继承自 WmiSmoObject)
GetProtocolPropertyCollection() (继承自 WmiSmoObject)
GetSmoObject(Urn)

返回具有相应 Urn 的对象

ImplInitialize(String[], OrderBy[]) (继承自 WmiSmoObject)
Initialize()

通过从枚举器读取其属性来初始化对象

(继承自 WmiSmoObject)
InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])

包装 InvokeMethod 调用。 调用失败时,返回的错误代码
映射到异常。

(继承自 WmiSmoObject)
InvokeMgmtMethod(ManagementObject, String, Object[]) (继承自 WmiSmoObject)
IsObjectInitialized() (继承自 WmiSmoObject)
Refresh() (继承自 WmiSmoObject)
SetName(String) (继承自 WmiSmoObject)
SetParentImpl(WmiSmoObject) (继承自 WmiSmoObject)
SetState(SqlSmoState)

设置对象状态(现有、已删除等)应用程序应避免使用此方法。

(继承自 SmoObjectBase)
UpdateObjectState() (继承自 WmiSmoObject)
Validate(String, Object[]) (继承自 SmoObjectBase)

适用于