ITsSbTarget::IpAddresses property
Retrieves or specifies the external IP addresses of the target.
This property is read/write.
Syntax
HRESULT put_IpAddresses(
[in, size_is(numAddresses)] TSSD_ConnectionPoint *sockaddr,
[in] DWORD numAddresses
);
HRESULT get_IpAddresses(
[out, size_is(*numAddresses)] TSSD_ConnectionPoint *sockaddr,
[in, out] DWORD *numAddresses
);
Property value
A pointer to an array of TSSD_ConnectionPoint structures that receive the external IP addresses of the target.
A pointer to a DWORD variable that contains the number of external IP addresses in the sockaddr parameter. If the number of addresses is unknown, pass sockaddr as NULL. The method will return the number of TSSD_ConnectionPoint structures necessary to allocate in the array pointed to by the sockaddr parameter.
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 |
IDL |
|
IID |
IID_ITsSbTarget is defined as:
|