SymmetricKeyCollection.Item Property (Int32)
Gets a SymmetricKey object in the collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As SymmetricKey
Get
'Usage
Dim instance As SymmetricKeyCollection
Dim index As Integer
Dim value As SymmetricKey
value = instance(index)
public SymmetricKey this[
int index
] { get; }
public:
property SymmetricKey^ default[int index] {
SymmetricKey^ get (int index);
}
member Item : SymmetricKey
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
An Int32 value that specifies the position of the SymmetricKey object in the SymmetricKeyCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.SymmetricKey
A SymmetricKey object value that represents the symmetric key.