ProtocolPropertyCollection.Item[] Property

Definition

Gets a ProtocolPropertyCollection object in the collection by name or by index number.

Overloads

Item[Int32]

Gets a ProtocolPropertyCollection object in the collection by index number.

Item[String]

Gets a ProtocolProperty object in the collection by name.

Item[Int32]

Gets a ProtocolPropertyCollection object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ProtocolProperty ^ default[int] { Microsoft::SqlServer::Management::Smo::Wmi::ProtocolProperty ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
Default Public ReadOnly Property Item(index As Integer) As ProtocolProperty

Parameters

index
Int32

An Int32 value that specifies the position of the ProtocolProperty object in the ProtocolPropertyCollection collection.

Property Value

ProtocolProperty

A ProtocolProperty object value that represents an attribute of the protocol.

Applies to

Item[String]

Gets a ProtocolProperty object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ProtocolProperty ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::Wmi::ProtocolProperty ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
Default Public ReadOnly Property Item(name As String) As ProtocolProperty

Parameters

name
String

A String value that specifies the name of the ProtocolProperty object in the ProtocolPropertyCollection collection.

Property Value

ProtocolProperty

A ProtocolProperty object value that represents an attribute of the protocol.

Examples

Using Collections

Applies to