ITsSbTarget::put_IpAddresses method (sbtsv.h)
Retrieves or specifies the external IP addresses of the target.
This property is read/write.
Syntax
HRESULT put_IpAddresses(
TSSD_ConnectionPoint *sockaddr,
DWORD numAddresses
);
Parameters
sockaddr
numAddresses
Return value
None
Remarks
This property was formerly known as TargetExternalIpAddresses in Windows Server 2008 R2.
If the number of external IP addresses is unknown, you can call this method with sockaddr set to NULL. The method will then return, in the numAddresses parameter, the number of TSSD_ConnectionPoint structures necessary to receive all the external IP addresses. Allocate the array for sockaddr based on this number, and then call the method again, setting sockaddr to the newly allocated array and numAddresses to the number returned by the first call.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | sbtsv.h |