Właściwość Item (String)
Pobiera Rule obiektu kolekcja według nazwy.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
Public ReadOnly Default Property Item ( _
name As String _
) As Rule
Get
'Użycie
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Typ: System. . :: . .String
A String wartość, która określa nazwę Rule obiekt w RuleCollection kolekcja.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo. . :: . .Rule
A Rule obiektu wartość reprezentująca reguły.
Zobacz także