Metodo ItemById
Extracts a member from the RemoteServiceBindingCollection collection using a system-defined, unique identifier.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Function ItemById ( _
id As Integer _
) As RemoteServiceBinding
'Utilizzo
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
Parametri
- id
Tipo: System. . :: . .Int32
An Int32 value that uniquely identifies the RemoteServiceBinding object that is a member of the RemoteServiceBindingCollection collection.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.Broker. . :: . .RemoteServiceBinding
A RemoteServiceBinding object that has the specified ID value.
Vedere anche