AsymmetricKeyCollection.Item[String] AsymmetricKeyCollection.Item[String] AsymmetricKeyCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets a AsymmetricKey object in the collection by index number.

Item[String] Item[String] Item[String]

Gets a AsymmetricKey object in the collection by name.

Item[Int32] Item[Int32] Item[Int32]

Gets a AsymmetricKey object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::AsymmetricKey ^ default[int] { Microsoft::SqlServer::Management::Smo::AsymmetricKey ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.AsymmetricKey this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As AsymmetricKey
Parameters
index
Int32 Int32 Int32

A Int32 value that specifies the position of the AsymmetricKey object in the

AsymmetricKeyCollection collection.

Property Value

A AsymmetricKey object value that represents the asymmetric key.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets a AsymmetricKey object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::AsymmetricKey ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::AsymmetricKey ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.AsymmetricKey this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As AsymmetricKey
Parameters
name
String String String

A string value that specifies the name of the AsymmetricKey object in the AsymmetricKeyCollection collection.

Property Value

A AsymmetricKey object value that represents the asymmetric key.

Examples

Using Collections

Applies to