Volume Administration Control Overview
|
The Volume Administration Control provides features to manage a NetWare volume. It lets you view and modify volume information (disk space, namespaces, modification dates), and manage directories and files (file sharing, renaming, compression). Use this control to develop network applications for a variety of volume and file system tasks, including
The NWVolAdm Control references directory and file data through the NWEntry object. It abstracts space limit data in the NWSpaceLimits object. Objects and Collections The Volume Administration Control is a non-visual control that incorporates objects and collections that make up the elements of a server volume. The NWVolAdm Control is the top-level object that allows you to identify and manipulate the server volume and its directories and files. It provides methods to load and unload the volume, and to search for specified entries. |
Illustrates the various objects and collection of the control: NWVolAdm, NWEntry, NWFile, NWNetworkNames, NWNetworkName, NWTrustees, NWTrustee, NWRights, NWEntries, NWSpaceLimits, and NWSpaceLimit
|
The NWVolAdm properties return volume attributes, such as disk space information, modification time and date, the name of the host server, and so on.
The subordinate objects of the Volume Administration Control allow you to perform additional operations:
Each directory and file in the volume is identified as an NWEntry object. This object identifies the attributes of the file and directory, including the access rights, archive and modification dates, trustees, creation date, and so on. The NWEntries collection allows you to add directories and files using the Add method, and lets you access and manage NWEntry objects.
The NWRights objectidentifies the security rights a user has for a file or directory. Its properties include the NetWare security rights that are part of the Access Control List.
The NWTrustee objectidentifies the trustee of the volume, directory, and file, and specifies rights of each trustee. The NWTrustees collection provides properties and methods for managing NWTrustee object.
The Volume Administration Control provides an easy and efficient way to create network applications that work with volumes, directories, and files on a particular server. The actual interface is constructed to interact with a wide variety of commonly available visual components. The Volume Administration Control includes a Property Page used to set the FullName property.
The NWNetworkNames object contains a collection of NWNetworkName objects. The NWNetworkName object represents the names of network resources. Use this object to read the full name and short name of network resources.
See Also