Item propriété (String)
Gets a Certificate object in the collection by name.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As Certificate
Get
'Utilisation
Dim instance As CertificateCollection
Dim name As String
Dim value As Certificate
value = instance(name)
public Certificate this[
string name
] { get; }
public:
property Certificate^ default[String^ name] {
Certificate^ get (String^ name);
}
member Item : Certificate
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
A string value that specifies the name of the Certificate object in the CertificateCollection collection.
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo. . :: . .Certificate
A Certificate object value that represents the certificate.