Classe SchemaCollection
The SchemaCollection class represents a collection of Schema objects that represent all the schemas on the referenced database.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public NotInheritable Class SchemaCollection _
Inherits SimpleObjectCollectionBase
'Utilisation
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
Notes
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.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .AbstractCollectionBase
Microsoft.SqlServer.Management.Smo. . :: . .SmoCollectionBase
Microsoft.SqlServer.Management.Smo. . :: . .SortedListCollectionBase
Microsoft.SqlServer.Management.Smo. . :: . .SimpleObjectCollectionBase
Microsoft.SqlServer.Management.Smo..::..SchemaCollection
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.