Метод FederationCollection.ItemById

Returns the federation object using the specified identifier.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Function ItemById ( _
    id As Integer _
) As Federation
'Применение
Dim instance As FederationCollection 
Dim id As Integer 
Dim returnValue As Federation 

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

Параметры

  • id
    Тип: System.Int32
    The identifier that corresponds to the federation object.

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Smo.Federation
The federation object with the specified identifier.

См. также

Справочник

FederationCollection Класс

Пространство имен Microsoft.SqlServer.Management.Smo