Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether or not a peer-to-peer network reference to an object is supported.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function IsSupportedP2PReference ( _
    pUnk As Object _
) As Integer
int IsSupportedP2PReference(
    Object pUnk
)
int IsSupportedP2PReference(
    [InAttribute] Object^ pUnk
)
abstract IsSupportedP2PReference : 
        pUnk:Object -> int
function IsSupportedP2PReference(
    pUnk : Object
) : int
Parameters
- pUnk 
 Type: Object- [in] Pointer to the IUnknown interface of the referenced object. 
Return Value
Type: Int32
Returns S_OK if the object can be referenced.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.