RuleCollection クラス

RuleCollection クラスは、SQL Server のインスタンスで定義されたすべてのルールを表す Rule オブジェクトのコレクションです。

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

構文

'宣言
Public NotInheritable Class RuleCollection _
    Inherits SchemaCollectionBase
'使用
Dim instance As RuleCollection
public sealed class RuleCollection : SchemaCollectionBase
public ref class RuleCollection sealed : public SchemaCollectionBase
[<SealedAttribute>]
type RuleCollection =  
    class
        inherit SchemaCollectionBase
    end
public final class RuleCollection extends SchemaCollectionBase

説明

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

スレッド セーフ

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