SymmetricKeyCollection.Item Property (String)
Gets a SymmetricKey object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public ReadOnly Default Property Item ( _
name As String _
) As SymmetricKey
Get
'Kullanım
Dim instance As SymmetricKeyCollection
Dim name As String
Dim value As SymmetricKey
value = instance(name)
public SymmetricKey this[
string name
] { get; }
public:
property SymmetricKey^ default[String^ name] {
SymmetricKey^ get (String^ name);
}
member Item : SymmetricKey
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A string value that specifies the name 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.