Freigeben über


DacExtensions.SetServiceSetting-Methode

Configures a setting on the supplied DacServices instance. This method supports the Data-Tier Application Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.SqlServer.Dac.Extensions
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

Syntax

'Declaration
Public Shared Sub SetServiceSetting ( _
    service As DacServices, _
    settingName As String, _
    settingValue As Object _
)
'Usage
Dim service As DacServices 
Dim settingName As String 
Dim settingValue As Object 

DacExtensions.SetServiceSetting(service, _
    settingName, settingValue)
public static void SetServiceSetting(
    DacServices service,
    string settingName,
    Object settingValue
)
public:
static void SetServiceSetting(
    DacServices^ service, 
    String^ settingName, 
    Object^ settingValue
)
static member SetServiceSetting : 
        service:DacServices * 
        settingName:string * 
        settingValue:Object -> unit
public static function SetServiceSetting(
    service : DacServices, 
    settingName : String, 
    settingValue : Object
)

Parameter

  • settingValue
    Typ: System.Object
    The value of the setting or null to remove the setting.

Siehe auch

Verweis

DacExtensions Klasse

Microsoft.SqlServer.Dac.Extensions-Namespace