Click or drag to resize

IVssBackupComponentsGetRootAndLogicalPrefixPaths Method

Normalizes a local volume path or UNC share path so that it can be passed to the AddToSnapshotSet Overload method.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
VssRootAndLogicalPrefixPaths GetRootAndLogicalPrefixPaths(
	string filePath,
	bool normalizeFQDNforRootPath
)

Parameters

filePath
Type: SystemString
The path to be normalized.
normalizeFQDNforRootPath
Type: SystemBoolean

If filePath is a UNC share path, the server name portion can be

  • A host name
  • A fully qualified domain name
  • An IP address

This parameter specifies whether host name format or fully qualified domain name format should be used in the server name portion of the normalized root path that is returned in the RootPath property of the returned instance.

If this parameter is , simple host name format will be used.

If this parameter is , fully qualified domain name will be used.

In a deployment where a host name could exist in multiple domain suffixes, this parameter should be .

Return Value

Type: VssRootAndLogicalPrefixPaths
The root and logical prefix paths.
See Also