مشاركة عبر


ServerProtocolProperty Class

The ServerProtocolProperty class represents an attribute of a Windows Management Instrumentation (WMI) server protocol.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public NotInheritable Class ServerProtocolProperty _
    Inherits ProtocolProperty
'Usage
Dim instance As ServerProtocolProperty
public sealed class ServerProtocolProperty : ProtocolProperty
public ref class ServerProtocolProperty sealed : public ProtocolProperty
[<SealedAttribute>]
type ServerProtocolProperty =  
    class 
        inherit ProtocolProperty 
    end
public final class ServerProtocolProperty extends ProtocolProperty

The ServerProtocolProperty type exposes the following members.

Properties

  Name Description
Public property 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. (Inherited from Property.)
Public property Expensive Gets the Boolean property value that specifies whether it takes a long time to load the property's values. (Inherited from Property.)
Public property IsNull Gets the Boolean property value that specifies whether the property is set to null. (Inherited from Property.)
Public property Name Gets the name of the property. (Inherited from Property.)
Public property Readable Gets the Boolean property value that specifies whether the value of the property can be retrieved. (Inherited from Property.)
Public property Retrieved Gets the Boolean property value that specifies whether the property has been retrieved already. (Inherited from Property.)
Public property Type Gets the type of property. (Inherited from Property.)
Public property Value Gets or sets the value of the property. (Inherited from Property.)
Public property Writable Gets the Boolean property value that specifies whether the property can be modified. (Inherited from Property.)

Top

Methods

  Name Description
Public method CompareTo Compares the Property object to another object. (Inherited from Property.)
Public method Equals Determines whether two Property objects are equal. (Inherited from Property.)
Public method GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Property.)
Public method GetType (Inherited from Object.)
Public method ToString Returns a String value that represents the current object. (Inherited from Property.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property ISfcProperty.Attributes Returns an attribute collection that contains properties. (Inherited from Property.)
Explicit interface implemetationPrivate 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. (Inherited from Property.)
Explicit interface implemetationPrivate 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. (Inherited from Property.)
Explicit interface implemetationPrivate property ISfcProperty.IsNull Gets the Boolean property value that specifies whether the property is set to null. (Inherited from Property.)
Explicit interface implemetationPrivate property ISfcProperty.Name Gets the name of the property. (Inherited from Property.)
Explicit interface implemetationPrivate property ISfcProperty.Required Gets the Boolean property value that specifies whether the property is required,. (Inherited from Property.)
Explicit interface implemetationPrivate property ISfcProperty.Type Gets the type of property. (Inherited from Property.)
Explicit interface implemetationPrivate property ISfcProperty.Value Gets or sets the value of the property. (Inherited from Property.)
Explicit interface implemetationPrivate property ISfcProperty.Writable Gets the Boolean property value that specifies whether the property can be modified. (Inherited from Property.)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Managing Services and Network Settings by Using WMI Provider

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine