ViewCollection.Item Propiedad (String)
Gets a View 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 View
Get
'Uso
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 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 View object in the ViewCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.View
A View object value that represents the view.