[英]How to get cluster from a node?
I have a node name and I need to be able to get a cluster from that node name. 我有一个节点名,我需要能够从该节点名中获取集群。 On MSDN there is a GetClusterFromNode
function which will do that, but it works with node handle, which apparently I dont have at that moment. 在MSDN上,有一个GetClusterFromNode
函数可以做到这一点,但是它可以与节点句柄一起使用,显然我那时还没有。 So what is the way to get a cluster of node by its name using c++ ? 那么,使用c ++按名称获取节点集群的方法是什么?
Thanks on advance. 提前谢谢。
使用NULL
参数调用OpenCluster
返回了本地PC的群集句柄,在我看来,这很好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.