This document is archived and information here might be outdated. Recommended version. |
The network traversal source by ID.
[Visual Basic .NET] Public Function get_SourceByID ( _ ByVal SourceID As Integer _ ) As INATraversalResultSource
[C#] public INATraversalResultSource get_SourceByID ( int SourceID );
[C++]
HRESULT get_SourceByID(
long SourceID,
INATraversalResultSource** resultSource
);
[C++] Parameters SourceID [in]
SourceID is a parameter of type long resultSource [out, retval]
resultSource is a parameter of type INATraversalResultSource**
The SourceByID property returns an NATraversalResultSource object corresponding to the ID of the source in the traversal result.
The ID of a source is returned by the SourceID property of the NATraversalResultElement's INATraversalResultElement interface. It can also be found on the ID property on the INATraversalResultSource interface of the NATraversalResultSource object.