Поделиться через


Класс ClientProtocolProperty

The ClientProtocolProperty class represents an attribute of a Windows Management Instrumentation (WMI) client protocol.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Smo.Wmi
Сборка:  Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)

Синтаксис

'Декларация
Public NotInheritable Class ClientProtocolProperty _
    Inherits ProtocolProperty
'Применение
Dim instance As ClientProtocolProperty
public sealed class ClientProtocolProperty : ProtocolProperty
public ref class ClientProtocolProperty sealed : public ProtocolProperty
[<SealedAttribute>]
type ClientProtocolProperty =  
    class 
        inherit ProtocolProperty 
    end
public final class ClientProtocolProperty extends ProtocolProperty

Тип ClientProtocolProperty обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство 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

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.

Примеры

Управление службами и сетевыми настройками с помощью поставщика WMI

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo.Wmi

Другие ресурсы

WMI and SQL Server