ClientProtocolCollection.Item Property (Int32)
Gets a ClientProtocol 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 ClientProtocol
Get
'Usage
Dim instance As ClientProtocolCollection
Dim index As Integer
Dim value As ClientProtocol
value = instance(index)
public ClientProtocol this[
int index
] { get; }
public:
property ClientProtocol^ default[int index] {
ClientProtocol^ get (int index);
}
member Item : ClientProtocol
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
An Int32 value that specifies the position of the ClientProtocol object in the ClientProtocolCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol
A ClientProtocol object value that represents the client protocol.