FederationCollection.ItemById Method
Returns the federation object using the specified identifier.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function ItemById ( _
id As Integer _
) As Federation
'Usage
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
Parameters
- id
Type: System.Int32
The identifier that corresponds to the federation object.
Return Value
Type: Microsoft.SqlServer.Management.Smo.Federation
The federation object with the specified identifier.