EndpointCollection.EnumEndpoints 方法
Returns an enumerated list of endpoints of the specified type.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function EnumEndpoints ( _
endpointType As EndpointType _
) As Endpoint()
'用途
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[]
參數
- endpointType
型別:Microsoft.SqlServer.Management.Smo.EndpointType
An EndpointType object that specifies the type of endpoint to enumerate.
傳回值
型別:array<Microsoft.SqlServer.Management.Smo.Endpoint[]
An array of Endpoint objects that specifies the list of endpoints of the specified type.