Метод ItemById
Extracts a member from the RemoteServiceBindingCollection collection using a system-defined, unique identifier.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function ItemById ( _
id As Integer _
) As RemoteServiceBinding
'Применение
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
Параметры
- id
Тип System. . :: . .Int32
An Int32 value that uniquely identifies the RemoteServiceBinding object that is a member of the RemoteServiceBindingCollection collection.
Возвращаемое значение
Тип Microsoft.SqlServer.Management.Smo.Broker. . :: . .RemoteServiceBinding
A RemoteServiceBinding object that has the specified ID value.