共用方式為


Cluster API

The Cluster API, defined in ClusAPI.h and ClusAPI.lib, provides the programming elements necessary to work directly with cluster objects and interact with the Cluster service. These header files are located in the directory where your Windows SDK headers are stored: %PROGRAMFILES%\Microsoft SDKs\Windows\version number\Include.

The Cluster API is not available until the Cluster service has started. Resource DLLs should take this into account and use the Resource API for operations that might take place in the absence of the Cluster service.

Note  When you use the Cluster API to create a new File Share resource, permissions for the Everyone group for that file share are set to full control by default. You can change the default permissions by modifying the Security Property for File Shares.

The Cluster API is divided into the following subsets: