次の方法で共有


RunValue プロパティ

構成オプションの現在実行中の値を取得します。

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

構文

'宣言
Public ReadOnly Property RunValue As Integer
    Get
'使用
Dim instance As ConfigProperty
Dim value As Integer

value = instance.RunValue
public int RunValue { get; }
public:
property int RunValue {
    int get ();
}
member RunValue : int
function get RunValue () : int

プロパティ値

型: System. . :: . .Int32
構成オプションの現在実行中の値を示す Int32 値。

説明

一部の構成オプションは動的で、ConfigValue プロパティが設定されると、実行中の値は直ちに更新されます。実行中の値を取得するには、RunValue プロパティを取得します。その他の構成オプションは動的ではなく、構成オプションの更新は、Microsoft SQL Server のインスタンスが再起動されたときに行われます。ConfigValue プロパティを設定した後でも、RunValue プロパティは、サーバーが再起動されるまでは更新されません。