共用方式為


IServerSettings 介面

An interface for SQL Server 2012 Policy-Based Management that is based on Settings.

此 API 不符合 CLS 標準。 

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("IServerSettings_Desc")> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayNameKeyAttribute("IServerSettings_Name")> _
<CLSCompliantAttribute(False)> _
<RootFacetAttribute(GetType(Server))> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Interface IServerSettings _
    Inherits IDmfFacet
'用途
Dim instance As IServerSettings
[DisplayDescriptionKeyAttribute("IServerSettings_Desc")]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute("IServerSettings_Name")]
[CLSCompliantAttribute(false)]
[RootFacetAttribute(typeof(Server))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface IServerSettings : IDmfFacet
[DisplayDescriptionKeyAttribute(L"IServerSettings_Desc")]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute(L"IServerSettings_Name")]
[CLSCompliantAttribute(false)]
[RootFacetAttribute(typeof(Server))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface class IServerSettings : IDmfFacet
[<DisplayDescriptionKeyAttribute("IServerSettings_Desc")>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayNameKeyAttribute("IServerSettings_Name")>]
[<CLSCompliantAttribute(false)>]
[<RootFacetAttribute(typeof(Server))>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type IServerSettings =  
    interface 
        interface IDmfFacet 
    end
public interface IServerSettings extends IDmfFacet

IServerSettings 型別公開下列成員。

屬性

  名稱 說明
公用屬性 AuditLevel Gets or sets the audit level for an instance of SQL Server.
公用屬性 BackupDirectory Gets or sets the BackupDirectory property for an instance SQL Server.
公用屬性 DefaultFile Gets or sets the DefaultFile property for an instance of SQL Server.
公用屬性 DefaultLog Gets or sets the DefaultLog property for a String.
公用屬性 LoginMode Gets or sets the ServerLoginMode for an instance of SQL Server.
公用屬性 MailProfile Gets or sets the mail profile for an instance of SQL Server.
公用屬性 NumberOfLogFiles Gets or sets the NumberOfLogFiles property for an instance of SQL Server.
公用屬性 PerfMonMode Gets or sets the PerfMonMode for an instance of SQL Server.
公用屬性 TapeLoadWaitTime Gets or sets the time needed for the loading an instance of SQL Server.

上層

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間