Método FederationCollection.ItemById
Returns the federation object using the specified identifier.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Function ItemById ( _
id As Integer _
) As Federation
'Uso
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
Parâmetros
- id
Tipo: System.Int32
The identifier that corresponds to the federation object.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.Federation
The federation object with the specified identifier.