Share via


ProtocolPropertyCollection.Item Property (Int32)

Gets a ProtocolPropertyCollection object in the collection by index number.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ProtocolProperty 
    Get
'Usage
Dim instance As ProtocolPropertyCollection 
Dim index As Integer 
Dim value As ProtocolProperty 

value = instance(index)
public ProtocolProperty this[
    int index
] { get; }
public:
property ProtocolProperty^ default[int index] {
    ProtocolProperty^ get (int index);
}
member Item : ProtocolProperty
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty object value that represents an attribute of the protocol.

See Also

Reference

ProtocolPropertyCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo.Wmi Namespace