EndpointCollection.Item[String] EndpointCollection.Item[String] EndpointCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets an Endpoint object in the collection by index number.

Item[String] Item[String] Item[String]

Gets an Endpoint object in the collection by name.

Item[Int32] Item[Int32] Item[Int32]

Gets an Endpoint object in the collection by index number.

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

An integer value that specifies the position of the Endpoint object in the EndpointCollection collection.

Property Value

An Endpoint object value that represents the HTTP endpoint.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets an Endpoint object in the collection by name.

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

A String value that specifies the name of the Endpoint object in the EndpointCollection collection.

Property Value

An Endpoint object value that represents the HTTP endpoint.

Examples

Using Collections

Applies to