EndpointCollection.EnumEndpoints Método
Returns an enumerated list of endpoints of the specified type.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function EnumEndpoints ( _
endpointType As EndpointType _
) As Endpoint()
'Uso
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[]
Parámetros
- endpointType
Tipo: Microsoft.SqlServer.Management.Smo.EndpointType
An EndpointType object that specifies the type of endpoint to enumerate.
Valor devuelto
Tipo: array<Microsoft.SqlServer.Management.Smo.Endpoint[]
An array of Endpoint objects that specifies the list of endpoints of the specified type.