다음을 통해 공유


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[]

매개 변수

반환 값

유형: array<Microsoft.SqlServer.Management.Smo.Endpoint[]
An array of Endpoint objects that specifies the list of endpoints of the specified type.

컬렉션 사용

참고 항목

참조

EndpointCollection 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스