ViewCollection.Item Property (String, String)

Gets a View object in the collection by name and schema.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String, _
    schema As String _
) As View
    Get
'Usage
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
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.View
A View object value that represents the view.