AvailabilityGroupListenerIPAddressCollection.ItemById Method
Extracts a member from the AvailabilityGroupListenerIPAddressCollection collection using a system-defined, unique identifier.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Function ItemById ( _
id As Integer _
) As AvailabilityGroupListenerIPAddress
'Kullanım
Dim instance As AvailabilityGroupListenerIPAddressCollection
Dim id As Integer
Dim returnValue As AvailabilityGroupListenerIPAddress
returnValue = instance.ItemById(id)
public AvailabilityGroupListenerIPAddress ItemById(
int id
)
public:
AvailabilityGroupListenerIPAddress^ ItemById(
int id
)
member ItemById :
id:int -> AvailabilityGroupListenerIPAddress
public function ItemById(
id : int
) : AvailabilityGroupListenerIPAddress
Parameters
- id
Type: System.Int32
A value that uniquely identifies the AvailabilityGroupListenerIPAddress object that is a member of the AvailabilityGroupListenerIPAddressCollection collection.
Return Value
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroupListenerIPAddress
An AvailabilityGroupListenerIPAddress object that has the specified ID value.