EndpointCollection.EnumEndpoints(EndpointType) EndpointCollection.EnumEndpoints(EndpointType) Method

Definition

Returns an enumerated list of endpoints of the specified type.

public:
 cli::array <Microsoft::SqlServer::Management::Smo::Endpoint ^> ^ EnumEndpoints(Microsoft::SqlServer::Management::Smo::EndpointType endpointType);
public Microsoft.SqlServer.Management.Smo.Endpoint[] EnumEndpoints (Microsoft.SqlServer.Management.Smo.EndpointType endpointType);
Parameters
endpointType
EndpointType EndpointType

An EndpointType object that specifies the type of endpoint to enumerate.

Returns

An array of Endpoint objects that specifies the list of endpoints of the specified type.

Examples

Using Collections

Applies to