共用方式為


ProtocolProperty 類別

The ProtocolProperty class represents an attribute of a protocol on the Windows Management Instrumentation (WMI) installation.

繼承階層

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

命名空間:  Microsoft.SqlServer.Management.Smo.Wmi
組件:  Microsoft.SqlServer.SqlWmiManagement (在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

語法

'宣告
Public Class ProtocolProperty _
    Inherits Property
'用途
Dim instance As ProtocolProperty
public class ProtocolProperty : Property
public ref class ProtocolProperty : public Property
type ProtocolProperty =  
    class 
        inherit Property 
    end
public class ProtocolProperty extends Property

ProtocolProperty 型別公開下列成員。

屬性

  名稱 說明
公用屬性 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。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 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。)
受保護的方法 MemberwiseClone (繼承自 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 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。

範例

使用集合

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

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