Share via


ReferenceValue.Parent Method ()

Creates a new ReferenceValue object that contains the distinguished name of the parent of this ReferenceValue object.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As ReferenceValue
Dim returnValue As ReferenceValue

returnValue = instance.Parent

Syntax

'Declaration
Public MustOverride Function Parent As ReferenceValue
public abstract ReferenceValue Parent ()
public:
virtual ReferenceValue^ Parent () abstract
public abstract ReferenceValue Parent ()
public abstract function Parent () : ReferenceValue

Return Value

Returns a ReferenceValue object that contains the distinguished name of the parent of this ReferenceValue object. For example, if the distinguished name of this ReferenceValue object is "cn=jeffsmith,dc=corp,dc=fabrikam,dc=com", the Parent method returns a new ReferenceValue object with the distinguished name of "dc=corp,dc=fabrikam,dc=com". If no parent object exists, it returns null

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

Target Platforms

See Also

Reference

ReferenceValue Class
ReferenceValue Members
Microsoft.MetadirectoryServices Namespace
ReferenceValue Class
ReferenceValue Class