Loe inglise keeles

Jagamisviis:


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.

C#
public Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty this[int index] { get; }

Parameters

index
Int32

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

Property Value

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

Applies to

SQL Server .NET SDK 2016
Toode Versioonid
SQL Server .NET SDK 2016

Item[String]

Gets a ProtocolProperty object in the collection by name.

C#
public Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty this[string name] { get; }

Parameters

name
String

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

Property Value

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

Examples

Using Collections

Applies to

SQL Server .NET SDK 2016
Toode Versioonid
SQL Server .NET SDK 2016