adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / GetObject Method / GetObject(OID,ObjectFetchOptions) Method

In This Topic
    GetObject(OID,ObjectFetchOptions) Method
    In This Topic
    Gets the object with the specified OID, using options to control the way data is returned.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetObject( _
       ByVal oid As OID, _
       ByVal fetchOptions As ObjectFetchOptions _
    ) As ADTObject

    Parameters

    oid
    fetchOptions

    Return Value

    The requested object.
    Exceptions
    ExceptionDescription
    Thrown if the caller does not have permission for the requested object.
    Thrown if the object does not exist
    Remarks

    This method allows you to select how the requested object is returned. See the remarks for ArcanaDevelopment.adTempus.Shared.ObjectFetchOptions for more information.

    All fetches of an object through this DataContext (or through objects that belong to it) are guaranteed to return the same copy of the object for as long as the DataContext exists.

    See Also