Condividi tramite


Proprietà Item (String)

Gets a ConfigProperty object in the ConfigPropertyCollection collection by name.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As ConfigProperty
    Get
'Utilizzo
Dim instance As ConfigPropertyCollection
Dim name As String
Dim value As ConfigProperty

value = instance(name)
public ConfigProperty this[
    string name
] { get; }
public:
property ConfigProperty^ default[String^ name] {
    ConfigProperty^ get (String^ name);
}
member Item : ConfigProperty
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ConfigProperty
A ConfigProperty object value that represents the configuration property.