VistaDB 6
VistaDB.Provider Namespace / VistaDBParameterCollection Class / CreateObjRef Method
The System.Type of the object that the new System.Runtime.Remoting.ObjRef will reference.


In This Topic
    CreateObjRef Method (VistaDBParameterCollection)
    In This Topic
    Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
    Syntax
    'Declaration
     
    
    <System.Security.SecurityCriticalAttribute()>
    Public Function CreateObjRef( _
       ByVal requestedType As System.Type _
    ) As System.Runtime.Remoting.ObjRef
    'Usage
     
    
    Dim instance As VistaDBParameterCollection
    Dim requestedType As System.Type
    Dim value As System.Runtime.Remoting.ObjRef
     
    value = instance.CreateObjRef(requestedType)
    [System.Security.SecurityCritical()]
    public System.Runtime.Remoting.ObjRef CreateObjRef( 
       System.Type requestedType
    )

    Parameters

    requestedType
    The System.Type of the object that the new System.Runtime.Remoting.ObjRef will reference.

    Return Value

    Information required to generate a proxy.
    Exceptions
    ExceptionDescription
    This instance is not a valid remoting object.
    The immediate caller does not have infrastructure permission.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also