LoginCollection.ItemById(Int32) LoginCollection.ItemById(Int32) LoginCollection.ItemById(Int32) Method

Definition

Extracts a member from the LoginCollection collection using a system-defined, unique identifier.

public:
 Microsoft::SqlServer::Management::Smo::Login ^ ItemById(int id);
public Microsoft.SqlServer.Management.Smo.Login ItemById (int id);
Public Function ItemById (id As Integer) As Login
Parameters
id
Int32 Int32 Int32

An Int32 value that uniquely identifies the Login object that is a member of the LoginCollection collection.

Returns

A Login object that has the specified ID value.

Examples

Using Collections

Applies to