Description

Returns the file path which is being used to store the data for a given McDBNode.

Return Type

A Boolean value.   True when value is set successfully or when the given McDBNode is not using a file for storage.

Syntax

object.GetNodeStorageFilename (pdbnodeData, rsFilePath, [eResolve], [ePathInfo])

The GetNodeStorageFilename Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataManager.
pdbnodeDataRequired. A McDBNode object. The McDBNode that has stored content in the Data property (link to a file).
rsFilePathRequired. A String value. Returns the file name used by the given McDBNode Data property.
eResolveOptional. A mcData_ShellLink_Resolve enumeration, as described in settings. See McDataFileLink.GetPath.
ePathInfoOptional. A mcData_ShellLink_Path enumeration, as described in settings. See McDataFileLink.GetPath.

Settings

The settings for eResolve are:

ConstantValueDescription
 SLR_NO_UI1

Do Not display a dialog box if the link cannot be resolved. When this flag is set, the high-order word of fFlags specifies a time-out duration, in milliseconds. The method returns if the link cannot be resolved within the time-out duration. If the high-order word is set to zero, the time-out duration defaults to 3000 milliseconds (3 seconds).

 SLR_UPDATE4

If the link has changed, update its path and list of identifiers.

 SLR_NOUPDATE8

Do Not update the link information.

 SLR_NOSEARCH16

Do Not execute the search heuristics.

 SLR_NOTRACK32

Do Not use distributed link tracking.

 SLR_NOLINKINFO64

Disable distributed link tracking. By default, distributed link tracking tracks removable media across multiple devices based on the volume name. It also uses the UNC (Universal Naming Convention) path to track remote file systems whose drive letter has changed. Setting this flag disables both types of tracking.

 SLR_INVOKE_MSI128

Call the Microsoft® Windows® Installer.

 SLR_NORESOLVE49

A combination of SLR_NOTRACK, SLR_NOSEARCH, SLR_NO_UI.

The settings for ePathInfo are:

ConstantValueDescription
 SLGP_SHORTPATH1

Retrieves the standard short (8.3 format) file name.

 SLGP_UNCPRIORITY2

Retrieves the Universal Naming Convention (UNC) path name of the file.

 SLGP_RAWPATH4

Retrieves the raw path name. A raw path is something that might not exist and may include environment variables that need to be expanded.