ServerIPAddress 类

定义

ServerIPAddress 类表示在 Windows Management Instrumentation (WMI) 安装中定义的服务器协议的 IP 地址。

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

示例

使用 WMI 提供程序管理服务和网络设置

注解

ServerIPAddress使用 对象可以:

  • 查看 IP 地址。

  • 管理 IP 地址的属性。

属性

IPAddress

获取与服务器关联的 IP 地址。

IPAddressProperties

表示 IPAddressProperty 对象集合。 每个 IPAddressProperty 对象都表示 IP 地址的一个属性。

Name

获取或设置所引用 Windows Management Instrumentation (WMI) 对象的名称。

(继承自 WmiSmoObject)
Parent

获取是 ServerProtocol 对象的父对象的 ServerIPAddress 对象。

Properties

表示 Property 对象集合。 每个 Property 对象都表示在 Windows Management Instrumentation (WMI) 对象上定义的一个属性。

(继承自 WmiSmoObject)
State

获取所引用对象的状态。

(继承自 SmoObjectBase)
Urn

获取表示 Windows Management Instrumentation (WMI) 对象的统一资源名称 (URN) 地址。

(继承自 WmiSmoObject)
UserData

获取或设置与所引用对象关联的用户定义数据。

(继承自 SmoObjectBase)

方法

AlterProtocolProperties(ProtocolPropertyCollection)

更新 Windows Management Instrumentation (WMI) 安装上的任何协议对象属性更改。

(继承自 WmiSmoObject)
CheckObjectState()

检查所引用对象的状态。

(继承自 WmiSmoObject)
CreateProtocolPropertyCollection()

创建所引用对象的一组协议属性。

(继承自 WmiSmoObject)
GetPropertyManagementObject(ProtocolProperty)

获取指定协议属性的管理对象。

(继承自 WmiSmoObject)
GetPropertyObject(PropertyCollection, DataRow, Object)

使用指定的位置和值从指定集合中检索属性。

(继承自 WmiSmoObject)
GetProtocolPropertyCollection()

返回所引用对象的协议属性集合。

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

初始化 WmiSmoObject 对象的字段。

(继承自 WmiSmoObject)
Initialize()

初始化所引用的对象。

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

使用指定的管理对象、观测方、方法名称和参数调用所引用对象的管理方法。

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

使用指定的管理对象、方法名称和参数调用所引用对象的管理方法。

(继承自 WmiSmoObject)
IsObjectInitialized()

指定所引用的对象是否已初始化。

(继承自 WmiSmoObject)
Refresh()

刷新所引用对象及其属性。

(继承自 WmiSmoObject)
SetName(String)

设置所引用对象的名称。

(继承自 WmiSmoObject)
SetParentImpl(WmiSmoObject)

设置所引用对象的父对象。

(继承自 WmiSmoObject)
UpdateObjectState()

更新对象状态。

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

验证对象的状态。

(继承自 SmoObjectBase)

适用于

另请参阅