Méthode FederationCollection.ItemById
Returns the federation object using the specified identifier.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function ItemById ( _
id As Integer _
) As Federation
'Utilisation
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
Paramètres
- id
Type : System.Int32
The identifier that corresponds to the federation object.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.Federation
The federation object with the specified identifier.