SchemaCollection クラス

SchemaCollection クラスは、参照するデータベースのすべてのスキーマを表す Schema オブジェクトのコレクションを表します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public NotInheritable Class SchemaCollection _
    Inherits SimpleObjectCollectionBase
'使用
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

説明

SchemaCollection オブジェクトは、一連のスキーマにアクセスするために使用できます。Item プロパティを使用して、特定の Schema オブジェクトを取得することができます。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。