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 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
ISfcPropertyAttributes | (从 Property 继承。) | |
ISfcPropertyDirty | (从 Property 继承。) | |
ISfcPropertyEnabled | (从 Property 继承。) | |
ISfcPropertyIsNull | (从 Property 继承。) | |
ISfcPropertyName | (从 Property 继承。) | |
ISfcPropertyRequired | (从 Property 继承。) | |
ISfcPropertyType | (从 Property 继承。) | |
ISfcPropertyValue | (从 Property 继承。) | |
ISfcPropertyWritable | (从 Property 继承。) |
页首
注释
To get or set ProtocolProperty object properties or run ProtocolProperty methods, users must be a member of the sysadmin fixed server role.
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。