adTempus API
ArcanaDevelopment.adTempus.Client Namespace / SearchReplaceMatch Class / GetSecondaryObject Method


In This Topic
    GetSecondaryObject Method (SearchReplaceMatch)
    In This Topic
    Gets the object in which the match was found.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Function GetSecondaryObject() As ADTObject
    [CanBeNull()]
    public ADTObject GetSecondaryObject()
    [CanBeNull()]
    public:
    ADTObject^ GetSecondaryObject(); 
    Remarks

    See SecondaryObjectOID for more information.

    If ObjectSearchOptions.ReturnObjects was set to false, the object will be automatically fetched from the server if necessary. If you plan to need the contents of the objects, set ArcanaDevelopment.adTempus.Shared.ObjectSearchOptions.ReturnObjects to true when calling DataContext.SearchAndReplace so that all objects are returned at once, rather than requiring multiple calls to the server to fetch them individually.

    See Also