Aracılığıyla paylaş


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

Return Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroupListenerIPAddress
An AvailabilityGroupListenerIPAddress object that has the specified ID value.

See Also

Reference

AvailabilityGroupListenerIPAddressCollection Class

Microsoft.SqlServer.Management.Smo Namespace