AsymmetricKeyCollection.ItemById(Int32) AsymmetricKeyCollection.ItemById(Int32) AsymmetricKeyCollection.ItemById(Int32) Method

Definition

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

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

A Int32 value that uniquely identifies the

AsymmetricKey object that is a member of the

AsymmetricKeyCollection collection.

Returns

A AsymmetricKey object that has the specified ID value.

Examples

Using Collections

Applies to