IGPMMapEntry Property Methods

The property methods of the IGPMMapEntry interface get and set the properties described in the following table. For a general discussion of property methods, see Interface Property Methods in the ADSI documentation.

Properties

Destination

Returns destination field of entry.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_Destination(
  [in] BSTR* pbstrVal
);

DestinationOption

Returns the option set for the destination. The pdestOption parameter can have one of the following values: opDestinationSameAsSource=0, opDestinationNone, opDestinationByRelativeName, or opDestinationSet.

Access type: Read-only

Scripting data type: GPMDestinationOption

// C++ method syntax
HRESULT get_DestinationOption(
  [out] GPMDestinationOption* pdestOption
);

EntryType

Returns the type of Entry. Returns one of the following values: typeUser (value equals 0, typeComputer, typeLocalGroup, typeGlobalGroup, typeUniversalGroup, typeUNCPath, or typeUnknown.

Access type: Read-only

Scripting data type: GPMEntryType

// C++ method syntax
HRESULT get_EntryType(
  [out] GPMEntryType* pgpmEntryType
);

Source

Returns the Source field of an entry.

Access type: Read-only

Scripting data type: String

// C++ method syntax
HRESULT get_Source(
  [out] BSTR* pbstrVal
);

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Gpmgmt.h
IDL
Gpmgmt.idl
DLL
Gpmgmt.dll
IID
IID_IGPMMapEntry is defined as 8E79AD06-2381-4444-BE4C-FF693E6E6F2B

See also

IGPMMapEntry