Skip to content

Latest commit

 

History

History
139 lines (114 loc) · 5.33 KB

nf-cluadmex-igetclusterresourceinfo-getresourcenetworkname.md

File metadata and controls

139 lines (114 loc) · 5.33 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:cluadmex.IGetClusterResourceInfo.GetResourceNetworkName
IGetClusterResourceInfo::GetResourceNetworkName (cluadmex.h)
Returns the name of the network managed by the Network Name resource on which a resource depends.
GetResourceNetworkName
GetResourceNetworkName method [Failover Cluster]
GetResourceNetworkName method [Failover Cluster]
IGetClusterResourceInfo interface
IGetClusterResourceInfo interface [Failover Cluster]
GetResourceNetworkName method
IGetClusterResourceInfo.GetResourceNetworkName
IGetClusterResourceInfo::GetResourceNetworkName
_wolf_igetclusterresourceinfo_getresourcenetworkname
cluadmex/IGetClusterResourceInfo::GetResourceNetworkName
mscs.igetclusterresourceinfo_getresourcenetworkname
mscs\igetclusterresourceinfo_getresourcenetworkname.htm
MsCS
5c4a16ab-b71c-49f6-95cb-8627eaffb8d6
12/05/2018
GetResourceNetworkName, GetResourceNetworkName method [Failover Cluster], GetResourceNetworkName method [Failover Cluster],IGetClusterResourceInfo interface, IGetClusterResourceInfo interface [Failover Cluster],GetResourceNetworkName method, IGetClusterResourceInfo.GetResourceNetworkName, IGetClusterResourceInfo::GetResourceNetworkName, _wolf_igetclusterresourceinfo_getresourcenetworkname, cluadmex/IGetClusterResourceInfo::GetResourceNetworkName, mscs.igetclusterresourceinfo_getresourcenetworkname
cluadmex.h
Windows
None supported
Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
CluAdmEx.idl
Windows
19H1
IGetClusterResourceInfo::GetResourceNetworkName
cluadmex/IGetClusterResourceInfo::GetResourceNetworkName
c++
APIRef
kbSyntax
COM
cluadmex.h
IGetClusterResourceInfo.GetResourceNetworkName

IGetClusterResourceInfo::GetResourceNetworkName

-description

[This method is available for use in the operating systems specified in the Requirements section. Support for this method was removed in Windows Server 2008.]

Returns the name of the network managed by the Network Name resource on which a resource depends.

-parameters

-param lObjIndex [in]

A number representing the zero-based index of the target resource. The target resource may or may not depend on a Network Name resource. lObjIndex is restricted to the number that can be retrieved by calling IGetClusterDataInfo::GetObjectCount.

-param lpszNetName [out]

Pointer to a null-terminated Unicode string containing the name of the network upon which the resource indexed by lObjIndex depends. Although declared as a BSTR, this parameter is implemented as an LPWSTR.

-param pcchNetName [in, out]

Pointer to the maximum count in characters of the buffer pointed to by lpszNetName. On input, this value should be large enough to contain MAX_COMPUTERNAME_LENGTH + 1 characters. On output, pcchNetName points to the actual number of characters copied to the content of lpszNetName.

-returns

Return code/value Description
TRUE
1
The resource indexed by lObjIndex has a dependency on a Network Name resource, and the name of the network was successfully returned.
FALSE
0
The resource indexed by lObjIndex does not have a dependency on a Network Name resource.

-remarks

The GetResourceNetworkName method is necessary to allow Failover Cluster Administrator extension property pages to determine whether a resource has an existing or a pending dependency on a Network Name resource.

The name of the network is stored in the Network Name resource's Name private property. The Network Name resource's Name common property is the name of the resource, not the network.

MAX_COMPUTERNAME_LENGTH is a constant defined as 15 in the Windows header file WinBase.h.

-see-also

IGetClusterDataInfo::GetObjectCount

IGetClusterResourceInfo