Compartir a través de


SchemaCollection Clase

The SchemaCollection class represents a collection of Schema objects that represent all the schemas on the referenced database.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public NotInheritable Class SchemaCollection _
    Inherits SimpleObjectCollectionBase
'Uso
Dim instance As SchemaCollection
public sealed class SchemaCollection : SimpleObjectCollectionBase
public ref class SchemaCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type SchemaCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class SchemaCollection extends SimpleObjectCollectionBase

Notas

A SchemaCollection object can be used to gain access to a set of schemas. You can use the Item property to return a specific Schema object.

Ejemplos

Usar colecciones

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.