Item Propiedad (String)
Gets a ConfigProperty object in the ConfigPropertyCollection collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As ConfigProperty
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System. . :: . .String
A String value that specifies the name of the ConfigProperty object in the ConfigPropertyCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ConfigProperty
A ConfigProperty object value that represents the configuration property.