Dela via


RemoteServiceBindingCollection.ItemById Method

Extracts a member from the RemoteServiceBindingCollection collection using a system-defined, unique identifier.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function ItemById ( _
    id As Integer _
) As RemoteServiceBinding
'Usage
Dim instance As RemoteServiceBindingCollection
Dim id As Integer
Dim returnValue As RemoteServiceBinding

returnValue = instance.ItemById(id)
public RemoteServiceBinding ItemById(
    int id
)
public:
RemoteServiceBinding^ ItemById(
    int id
)
member ItemById : 
        id:int -> RemoteServiceBinding 
public function ItemById(
    id : int
) : RemoteServiceBinding

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.Broker.RemoteServiceBinding
A RemoteServiceBinding object that has the specified ID value.