Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
)
Parameters
- service
Type: Microsoft.SqlServer.Dac.DacServices
The services instance to apply the setting.
- settingName
Type: System.String
The name of the setting.
- settingValue
Type: System.Object
The value of the setting or null to remove the setting.