ClusterSharedVolumeSetSnapshotState function (clusapi.h)
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for