RuleCollection.Item Propiedad (String)
Gets a Rule object in the 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 Rule
Get
'Uso
Dim instance As RuleCollection
Dim name As String
Dim value As Rule
value = instance(name)
public Rule this[
string name
] { get; }
public:
property Rule^ default[String^ name] {
Rule^ get (String^ name);
}
member Item : Rule
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 Rule object in the RuleCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Rule
A Rule object value that represents the rule.