ClientProtocolPropertyCollection 类
The ClientProtocolPropertyCollection class represents a collection of ClientProtocolProperty objects that represent all the attributes of the client protocol defined on the parent object.
继承层次结构
System.Object
Microsoft.SqlServer.Management.Smo.Wmi.ProtocolPropertyCollection
Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocolPropertyCollection
命名空间: Microsoft.SqlServer.Management.Smo.Wmi
程序集: Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)
语法
声明
Public NotInheritable Class ClientProtocolPropertyCollection _
Inherits ProtocolPropertyCollection
用法
Dim instance As ClientProtocolPropertyCollection
public sealed class ClientProtocolPropertyCollection : ProtocolPropertyCollection
public ref class ClientProtocolPropertyCollection sealed : public ProtocolPropertyCollection
[<SealedAttribute>]
type ClientProtocolPropertyCollection =
class
inherit ProtocolPropertyCollection
end
public final class ClientProtocolPropertyCollection extends ProtocolPropertyCollection
ClientProtocolPropertyCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | Gets the number of ProtocolProperty objects in the referenced collection. (从 ProtocolPropertyCollection 继承。) |
![]() |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (从 ProtocolPropertyCollection 继承。) |
![]() |
Item[Int32] | Gets a ProtocolPropertyCollection object in the collection by index number. (从 ProtocolPropertyCollection 继承。) |
![]() |
Item[String] | Gets a ProtocolProperty object in the collection by name. (从 ProtocolPropertyCollection 继承。) |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (从 ProtocolPropertyCollection 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Contains | Checks whether the specified key value exists in the collection. (从 ProtocolPropertyCollection 继承。) |
![]() |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. (从 ProtocolPropertyCollection 继承。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (从 ProtocolPropertyCollection 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. (从 ProtocolPropertyCollection 继承。) |
页首
注释
A ClientProtocolPropertyCollection object can be used to gain access to a set of an attributes of the client protocol.
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
示例
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.SqlServer.Management.Smo.Wmi 命名空间