Właściwość ConfigProperty.ConfigValue
Pobiera lub ustawia nową wartość opcji konfiguracja.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Property ConfigValue As Integer
Get
Set
'Użycie
Dim instance As ConfigProperty
Dim value As Integer
value = instance.ConfigValue
instance.ConfigValue = value
public int ConfigValue { get; set; }
public:
property int ConfigValue {
int get ();
void set (int value);
}
member ConfigValue : int with get, set
function get ConfigValue () : int
function set ConfigValue (value : int)
Wartość właściwości
Typ: System.Int32
Int32 Wartość, która określa nową 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.
Zobacz także