Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an enumerated list of endpoints of the specified type.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumEndpoints ( _
endpointType As EndpointType _
) As Endpoint()
'Usage
Dim instance As EndpointCollection
Dim endpointType As EndpointType
Dim returnValue As Endpoint()
returnValue = instance.EnumEndpoints(endpointType)
public Endpoint[] EnumEndpoints(
EndpointType endpointType
)
public:
array<Endpoint^>^ EnumEndpoints(
EndpointType endpointType
)
member EnumEndpoints :
endpointType:EndpointType -> Endpoint[]
public function EnumEndpoints(
endpointType : EndpointType
) : Endpoint[]
Parameters
- endpointType
Type: Microsoft.SqlServer.Management.Smo.EndpointType
An EndpointType object that specifies the type of endpoint to enumerate.
Return Value
Type: array<Microsoft.SqlServer.Management.Smo.Endpoint[]
An array of Endpoint objects that specifies the list of endpoints of the specified type.