ListGroupingCollection.CreateObjRef Method

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Usage

'Usage
Dim instance As ListGroupingCollection(Of TBusinessObject)
Dim requestedType As Type
Dim returnValue As ObjRef

returnValue = instance.CreateObjRef(requestedType)

Syntax

'Declaration
<SecurityCriticalAttribute> _
Public Overrides NotOverridable Function CreateObjRef ( _
    requestedType As Type _
) As ObjRef
[SecurityCriticalAttribute] 
public override sealed ObjRef CreateObjRef (
    Type requestedType
)
[SecurityCriticalAttribute] 
public:
virtual ObjRef^ CreateObjRef (
    Type^ requestedType
) override sealed
/** @attribute SecurityCriticalAttribute() */ 
public final ObjRef CreateObjRef (
    Type requestedType
)
SecurityCriticalAttribute 
public override final function CreateObjRef (
    requestedType : Type
) : ObjRef

Parameters

  • requestedType
    The Type of the object that the new ObjRef will reference.

Return Value

An instance of ObjRef that contains information that is required to generate a proxy.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 7 x32, Windows 7 x64, Windows Server 2008 R2 x64, Windows Server 2012 x64, Windows Server 2012 R2 x64

Target Platforms

Windows Server 2012 R2 x64, Windows Server 2012 R2 Essentials, Windows Server 2012 Essentials

See Also

Reference

ListGroupingCollection Generic Class
ListGroupingCollection Members
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Copyright © 2013 by Microsoft Corporation. All rights reserved.