共用方式為


IServerSettings 介面

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

此 API 不符合 CLS 標準。 

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

語法

'宣告
<CLSCompliantAttribute(False)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayNameKeyAttribute("IServerSettings_Name")> _
<DisplayDescriptionKeyAttribute("IServerSettings_Desc")> _
<RootFacetAttribute(GetType(Server))> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Interface IServerSettings _
    Inherits IDmfFacet
'用途
Dim instance As IServerSettings
[CLSCompliantAttribute(false)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute("IServerSettings_Name")]
[DisplayDescriptionKeyAttribute("IServerSettings_Desc")]
[RootFacetAttribute(typeof(Server))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface IServerSettings : IDmfFacet
[CLSCompliantAttribute(false)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute(L"IServerSettings_Name")]
[DisplayDescriptionKeyAttribute(L"IServerSettings_Desc")]
[RootFacetAttribute(typeof(Server))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface class IServerSettings : IDmfFacet
[<CLSCompliantAttribute(false)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayNameKeyAttribute("IServerSettings_Name")>]
[<DisplayDescriptionKeyAttribute("IServerSettings_Desc")>]
[<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 AuditLevel property 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 MailProfile property 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 TapeLoadWaitTime property for an instance of SQL Server.

上層

備註

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