IMcastLeaseInfo interface (mdhcp.h)

[Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The IMcastLeaseInfo interface exposes methods that can get or set information concerning a multicast address allocation. The IMcastLease object is created by calling IMcastAddressAllocation::CreateLeaseInfo.

Inheritance

The IMcastLeaseInfo interface inherits from the IDispatch interface. IMcastLeaseInfo also has these types of members:

Methods

The IMcastLeaseInfo interface has these methods.

 
IMcastLeaseInfo::EnumerateAddresses

The EnumerateAddresses method obtains the collection of multicast addresses that are the subject of this lease or lease request. This method is primarily for C++ programmers. Visual Basic and other scripting languages use get_Addresses instead.
IMcastLeaseInfo::get_AddressCount

The get_AddressCount method obtains the number of addresses requested or granted in this lease.
IMcastLeaseInfo::get_Addresses

The get_Addresses method obtains the collection of multicast addresses that are the subject of this lease or lease request. This method is primarily for Visual Basic and other scripting languages; C++ programmers use EnumerateAddresses instead.
IMcastLeaseInfo::get_LeaseStartTime

The get_LeaseStartTime method obtains the start time of the lease.
IMcastLeaseInfo::get_LeaseStopTime

The get_LeaseStopTime method obtains the stop time of the lease.
IMcastLeaseInfo::get_RequestID

The get_RequestID method obtains the request ID for a lease.
IMcastLeaseInfo::get_ServerAddress

The get_ServerAddress method obtains a string representing the address of the multicast server granting this lease.
IMcastLeaseInfo::get_TTL

The get_TTL method obtains the time to live (TTL) value associated with this lease.
IMcastLeaseInfo::put_LeaseStartTime

The put_LeaseStartTime method sets the start time of the lease. This method, along with put_LeaseStopTime, allows renewal of a lease without calling IMcastAddressAllocation::CreateLeaseInfo.
IMcastLeaseInfo::put_LeaseStopTime

The put_LeaseStopTime method sets the stop time of the lease. This method, along with put_LeaseStartTime, allows you to renew a lease without calling IMcastAddressAllocation::CreateLeaseInfo.

Requirements

Requirement Value
Target Platform Windows
Header mdhcp.h

See also

IDispatch

IMcastAddressAllocation

IMcastAddressAllocation::CreateLeaseInfo

IMcastAddressAllocation::RenewAddress

IMcastAddressAllocation::RequestAddress

IMcastScope