Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
477 B

Option Explicit
Main
Sub Main
Dim oCluster
Dim oNetInterfaces
Dim nCount
Dim e
Dim sCluster
Set oCluster = CreateObject("MSCluster.Cluster")
sCluster = InputBox( "Cluster to open?" )
oCluster.Open( sCluster )
Set oNetInterfaces = oCluster.NetInterfaces
nCount = oNetInterfaces.Count
MsgBox "Net Interfaces count is " & nCount
for e = 1 to nCount
MsgBox "Net Interface name is '" & oNetInterfaces.Item(e).Name & "'"
next
End Sub