Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates the state of a snapshot of a cluster shared volume.
Syntax
DWORD ClusterSharedVolumeSetSnapshotState(
  [in] GUID                                 guidSnapshotSet,
  [in] LPCWSTR                              lpszVolumeName,
  [in] CLUSTER_SHARED_VOLUME_SNAPSHOT_STATE state
);
Parameters
[in] guidSnapshotSet
The GUID of the snapshot.
[in] lpszVolumeName
A pointer to the name of the cluster shared volume.
[in] state
A CLUSTER_SHARED_VOLUME_SNAPSHOT_STATE enumeration value that specifies the state of the snapshot.
Return value
If the operation succeeds, the function returns a resource handle.
If the operation fails, the function returns NULL. For more information about the error, call GetLastError.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | None supported | 
| Minimum supported server | Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise | 
| Target Platform | Windows | 
| Header | clusapi.h | 
| Library | ClusAPI.lib | 
| DLL | ClusAPI.dll |