Scripting: ExchangeClusterResource Class – Reply from Alain Lissoir

by Bharat Suneja

The ClusApi.h file, which is part of the PlatformSDK should contain this…

typedef enum CLUSTER_RESOURCE_STATE {

ClusterResourceStateUnknown = -1,

ClusterResourceInherited = 0,

ClusterResourceInitializing = 1,

ClusterResourceOnline = 2,

ClusterResourceOffline = 3,

ClusterResourceFailed = 4,

ClusterResourcePending = 128,

ClusterResourceOnlinePending = 129,

ClusterResourceOfflinePending = 130

} CLUSTER_RESOURCE_STATE;

HTH

Alain is (now) WMI Program Manager at Microsoft and author of :

1. Understanding Windows Management Instrumentation (WMI) Scripting and

2. Leveraging Windows Management Instrumentation (WMI) Scripting – 2 of the best references on WMI. He also writes for Windows Scripting Solutions newsletter (published by Penton Media, the publishers of Windows IT Pro & SQL Server magazines).

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: