ClientProtocolCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a ClientProtocol object in the collection by name or by index number.
Overloads
Item[Int32] |
Gets a ClientProtocol object in the collection by index number. |
Item[String] |
Gets a ClientProtocol object in the collection by name. |
Item[Int32]
Gets a ClientProtocol object in the collection by index number.
public:
property Microsoft::SqlServer::Management::Smo::Wmi::ClientProtocol ^ default[int] { Microsoft::SqlServer::Management::Smo::Wmi::ClientProtocol ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol
Default Public ReadOnly Property Item(index As Integer) As ClientProtocol
Parameters
- index
- Int32
An Int32 value that specifies the position of the ClientProtocol object in the ClientProtocolCollection collection.
Property Value
A ClientProtocol object value that represents the client protocol.
Examples
Applies to
Item[String]
Gets a ClientProtocol object in the collection by name.
public:
property Microsoft::SqlServer::Management::Smo::Wmi::ClientProtocol ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::Wmi::ClientProtocol ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol
Default Public ReadOnly Property Item(name As String) As ClientProtocol
Parameters
- name
- String
A String value that specifies the name of the ClientProtocol object in the ClientProtocolCollection collection.
Property Value
A ClientProtocol object value that represents the client protocol.