Właściwość ViewCollection.Item (String, String)
Pobiera View obiektu kolekcja według nazwy i schematu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public ReadOnly Default Property Item ( _
name As String, _
schema As String _
) As View
Get
'Użycie
Dim instance As ViewCollection
Dim name As String
Dim schema As String
Dim value As View
value = instance(name, schema)
public View this[
string name,
string schema
] { get; }
public:
property View^ default[String^ name, String^ schema] {
View^ get (String^ name, String^ schema);
}
member Item : View
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.
Parametry
- name
Typ: System.String
A String wartość, która określa nazwę View obiekt w ViewCollection kolekcja.
- schema
Typ: System.String
A String wartość, która określa nazwę schematu.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.View
A View wartość obiektu, który reprezentuje widoku.
Zobacz także