Share via


ServerProtocolPropertyCollection Class

Definition

The ServerProtocolPropertyCollection class represents a collection of ServerProtocolProperty objects that represent all the attributes of the server protocol defined on the parent object.

public ref class ServerProtocolPropertyCollection sealed : Microsoft::SqlServer::Management::Smo::Wmi::ProtocolPropertyCollection
public sealed class ServerProtocolPropertyCollection : Microsoft.SqlServer.Management.Smo.Wmi.ProtocolPropertyCollection
type ServerProtocolPropertyCollection = class
    inherit ProtocolPropertyCollection
Public NotInheritable Class ServerProtocolPropertyCollection
Inherits ProtocolPropertyCollection
Inheritance
ServerProtocolPropertyCollection

Examples

Using Collections

Remarks

A ServerProtocolPropertyCollection object can be used to gain access to a set of attributes of the server protocol.

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.

Properties

Count

Gets the number of ProtocolProperty objects in the referenced collection.

(Inherited from ProtocolPropertyCollection)
IsSynchronized

Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe.

(Inherited from ProtocolPropertyCollection)
Item[Int32]

Gets a ProtocolPropertyCollection object in the collection by index number.

(Inherited from ProtocolPropertyCollection)
Item[String]

Gets a ProtocolProperty object in the collection by name.

(Inherited from ProtocolPropertyCollection)
SyncRoot

Gets an object that can be used to synchronize access to the collection.

(Inherited from ProtocolPropertyCollection)

Methods

Contains(String)

Checks whether the specified key value exists in the collection.

(Inherited from ProtocolPropertyCollection)
CopyTo(ProtocolProperty[], Int32)

Copies the collection objects to a one-dimensional array beginning at the index value specified.

(Inherited from ProtocolPropertyCollection)
GetEnumerator()

Returns an IEnumerator interface that allows you to iterate through the objects in the collection.

(Inherited from ProtocolPropertyCollection)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the collection objects to a one-dimensional array beginning at the index value specified.

(Inherited from ProtocolPropertyCollection)

Applies to