Udostępnij za pośrednictwem


Właściwość RunValue

Pobiera bieżącą wartość opcji Konfiguracja uruchomione.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Syntax

'Deklaracja
Public ReadOnly Property RunValue As Integer
    Get
'Użycie
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

Wartość właściwości

Typ: System. . :: . .Int32
Int32 Wartość określająca uruchomione bieżącą wartość opcji konfiguracja.

Uwagi

Niektóre opcje konfiguracja są dynamiczne i uruchomione wartość jest natychmiast zaktualizowane ConfigValue właściwość jest zestaw.Bieżące wartości można uzyskać, pobierając RunValue właściwość.Other configuration options are not dynamic, and the configuration option is updated when the instance of Microsoft SQL Server is restarted.Po ustawienie ConfigValue Właściwość RunValue właściwość jest aktualizowana dopiero po ponownym uruchomieniu serwera.