IFsrmFileManagementJob.NamespaceRoots Property
Retrieves or sets an array of local directory paths that will be scanned when the file management job is run.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
object[] NamespaceRoots { get; set; }
property array<Object^>^ NamespaceRoots {
array<Object^>^ get();
void set(array<Object^>^ value);
}
abstract NamespaceRoots : Object[] with get, set
Property NamespaceRoots As Object()
Property Value
Type: System.Object[]
Returns a Object containing An array of namespaces to scan.
Each entry is either a valid path on the server that contains no wildcards (static namespaces) or the value of a FolderUsage property defined on the server (also called dynamic namespaces). If providing FolderUsage properties, the format "[Folder Usage_MS=value]" must be used. The path is limited to 260 characters.
Each element of the SAFEARRAY is a VARIANT of type VT_BSTR. Set the bstrVal member of the variant to the directory path.
Remarks
All subdirectories under each specified path are also scanned (recursively).
If you schedule this job, specify the same namespaces when calling the CreateScheduleTask method.
This property calls the VerifyNamespaces method to validate the paths. For validation details, see the Remarks section of VerifyNamespaces.
Note that FSRM supports only NTFS file systems—you cannot specify paths on ReFS, FAT, FAT32, UDF, or other non-NTFS file system.
See Also
IFsrmFileManagementJob Interface
Microsoft.Storage Namespace
Return to top