Megosztás a következőn keresztül:


IServerSettings Interface

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

This API is not CLS-compliant. 

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<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
'Usage
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

The IServerSettings type exposes the following members.

Properties

  Name Description
Public property AuditLevel Gets or sets the AuditLevel property for an instance of SQL Server.
Public property BackupDirectory Gets or sets the BackupDirectory property for an instance SQL Server.
Public property DefaultFile Gets or sets the DefaultFile property for an instance of SQL Server.
Public property DefaultLog Gets or sets the DefaultLog property for a String.
Public property LoginMode Gets or sets the ServerLoginMode for an instance of SQL Server.
Public property MailProfile Gets or sets the MailProfile property for an instance of SQL Server.
Public property NumberOfLogFiles Gets or sets the NumberOfLogFiles property for an instance of SQL Server.
Public property PerfMonMode Gets or sets the PerfMonMode for an instance of SQL Server.
Public property TapeLoadWaitTime Gets or sets the TapeLoadWaitTime property for an instance of SQL Server.

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.