Share via


Classe ViewCollection

The ViewCollection class represents a collection of View objects that represent all the views defined on a table.

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

Sintaxe

'Declaração
Public NotInheritable Class ViewCollection _
    Inherits SchemaCollectionBase
'Uso
Dim instance As ViewCollection
public sealed class ViewCollection : SchemaCollectionBase
public ref class ViewCollection sealed : public SchemaCollectionBase
[<SealedAttribute>]
type ViewCollection =  
    class
        inherit SchemaCollectionBase
    end
public final class ViewCollection extends SchemaCollectionBase

Comentários

A ViewCollection object can be used to gain access to a set of views. You can use the Item property to return a specific View object.

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.