次の方法で共有


Check クラス

Check オブジェクトは、MicrosoftSQL Server CHECK 制約を表します。

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

構文

'宣言
Public NotInheritable Class Check _
    Inherits ScriptNameObjectBase _
    Implements ICreatable, IDroppable, IRenamable, IMarkForDrop,  _
    IAlterable, IExtendedProperties, IScriptable
'使用
Dim instance As Check
public sealed class Check : ScriptNameObjectBase, 
    ICreatable, IDroppable, IRenamable, IMarkForDrop, IAlterable, 
    IExtendedProperties, IScriptable
public ref class Check sealed : public ScriptNameObjectBase, 
    ICreatable, IDroppable, IRenamable, IMarkForDrop, IAlterable, 
    IExtendedProperties, IScriptable
[<SealedAttribute>]
type Check =  
    class
        inherit ScriptNameObjectBase
        interface ICreatable
        interface IDroppable
        interface IRenamable
        interface IMarkForDrop
        interface IAlterable
        interface IExtendedProperties
        interface IScriptable
    end
public final class Check extends ScriptNameObjectBase implements ICreatable, IDroppable, IRenamable, IMarkForDrop, IAlterable, IExtendedProperties, IScriptable

説明

Check オブジェクトのプロパティを取得するには、固定サーバー ロール public のメンバでもかまいません。

Check オブジェクトのプロパティを設定し、Alter メソッドを実行するには、親テーブルまたは列の ALTER 権限を持っているか、固定データベース ロール db_owner のメンバである必要があります。

CHECK 制約を作成するには、親テーブルの ALTER 権限を持っているか、固定データベース ロール db_owner のメンバである必要があります。

CHECK 制約を削除するには、親テーブルの ALTER 権限を持っているか、固定データベース ロール db_owner のメンバである必要があります。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

スレッド セーフ

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