IPAddressProperty 类

The IPAddressProperty class represents an attribute of a Windows Management Instrumentation (WMI) IP address.

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Smo.Property
    Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
      Microsoft.SqlServer.Management.Smo.Wmi.IPAddressProperty

命名空间:  Microsoft.SqlServer.Management.Smo.Wmi
程序集:  Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

语法

声明
Public NotInheritable Class IPAddressProperty _
    Inherits ProtocolProperty
用法
Dim instance As IPAddressProperty
public sealed class IPAddressProperty : ProtocolProperty
public ref class IPAddressProperty sealed : public ProtocolProperty
[<SealedAttribute>]
type IPAddressProperty =  
    class 
        inherit ProtocolProperty 
    end
public final class IPAddressProperty extends ProtocolProperty

IPAddressProperty 类型公开以下成员。

属性

  名称 说明
公共属性 Dirty Gets the Boolean property value that specifies whether the property correctly reflects the current value of the entity that it represents on the instance of SQL Server. (从 Property 继承。)
公共属性 Expensive Gets the Boolean property value that specifies whether it takes a long time to load the property's values. (从 Property 继承。)
公共属性 IsNull Gets the Boolean property value that specifies whether the property is set to null. (从 Property 继承。)
公共属性 Name Gets the name of the property. (从 Property 继承。)
公共属性 Readable Gets the Boolean property value that specifies whether the value of the property can be retrieved. (从 Property 继承。)
公共属性 Retrieved Gets the Boolean property value that specifies whether the property has been retrieved already. (从 Property 继承。)
公共属性 Type Gets the type of property. (从 Property 继承。)
公共属性 Value Gets or sets the value of the property. (从 Property 继承。)
公共属性 Writable Gets the Boolean property value that specifies whether the property can be modified. (从 Property 继承。)

页首

方法

  名称 说明
公共方法 CompareTo Compares the Property object to another object. (从 Property 继承。)
公共方法 Equals Determines whether two Property objects are equal. (从 Property 继承。)
公共方法 GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (从 Property 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString Returns a String value that represents the current object. (从 Property 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有属性 ISfcProperty.Attributes Returns an attribute collection that contains properties. (从 Property 继承。)
显式接口实现私有属性 ISfcProperty.Dirty Gets the Boolean property value that specifies whether the property correctly reflects the current value of the entity that it represents on the instance of SQL Server. (从 Property 继承。)
显式接口实现私有属性 ISfcProperty.Enabled Gets the Boolean property value that specifies whether the property is enabled on the entity that it represents on the instance of SQL Server. (从 Property 继承。)
显式接口实现私有属性 ISfcProperty.IsNull Gets the Boolean property value that specifies whether the property is set to null. (从 Property 继承。)
显式接口实现私有属性 ISfcProperty.Name Gets the name of the property. (从 Property 继承。)
显式接口实现私有属性 ISfcProperty.Required Gets the Boolean property value that specifies whether the property is required,. (从 Property 继承。)
显式接口实现私有属性 ISfcProperty.Type Gets the type of property. (从 Property 继承。)
显式接口实现私有属性 ISfcProperty.Value Gets or sets the value of the property. (从 Property 继承。)
显式接口实现私有属性 ISfcProperty.Writable Gets the Boolean property value that specifies whether the property can be modified. (从 Property 继承。)

页首

注释

Thread Safety

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。

示例

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo.Wmi 命名空间

其他资源

WMI and SQL Server

连接到 SQL Server 数据库引擎