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: |
| object | An expression evaluating to an object of type McDataManager. | | pdbnodeData | Required. A McDBNode object. The McDBNode that has stored content in the Data property (link to a file). | | rsFilePath | Required. A String value. Returns the file name used by the given McDBNode Data property. | | eResolve | Optional. A mcData_ShellLink_Resolve enumeration, as described in settings. See McDataFileLink.GetPath. | | ePathInfo | Optional. A mcData_ShellLink_Path enumeration, as described in settings. See McDataFileLink.GetPath. | Settings The settings for eResolve are:
 | SLR_NO_UI | 1 |
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_UPDATE | 4 |
If the link has changed, update its path and list of identifiers.
|
 | SLR_NOUPDATE | 8 |
Do Not update the link information.
|
 | SLR_NOSEARCH | 16 |
Do Not execute the search heuristics.
|
 | SLR_NOTRACK | 32 |
Do Not use distributed link tracking.
|
 | SLR_NOLINKINFO | 64 |
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_MSI | 128 |
Call the Microsoft® Windows® Installer.
|
 | SLR_NORESOLVE | 49 |
A combination of SLR_NOTRACK, SLR_NOSEARCH, SLR_NO_UI.
|
The settings for ePathInfo are:
 | SLGP_SHORTPATH | 1 |
Retrieves the standard short (8.3 format) file name.
|
 | SLGP_UNCPRIORITY | 2 |
Retrieves the Universal Naming Convention (UNC) path name of the file.
|
 | SLGP_RAWPATH | 4 |
Retrieves the raw path name. A raw path is something that might not exist and may include environment variables that need to be expanded.
|
|