开发者

Determining current owner of SQL Server instance is by interrogating Failover Cluster Management Service using C#

How can I determine who the current owner of SQL Server instance is by interrogating Failover Cluster Management Service using C#?

This is on SQL Server 2008. I have the fail over clus开发者_如何学运维ter management service configured and I need a programmatic way to determine the current owner.


Why would you need to do that? You can have a look at the API reference and the function called GetClusterGroupState, but needing that somehow seems a bit awkward IMHO.

http://msdn.microsoft.com/en-us/library/aa369611(v=VS.85).aspx

BR

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜