ViewCollection.Item Property (String)
Gets a View object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public ReadOnly Default Property Item ( _
name As String _
) As View
Get
'Kullanım
Dim instance As ViewCollection
Dim name As String
Dim value As View
value = instance(name)
public View this[
string name
] { get; }
public:
property View^ default[String^ name] {
View^ get (String^ name);
}
member Item : View
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the View object in the ViewCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.View
A View object value that represents the view.