IServerSetupFacet-Schnittstelle

Represents the Policy-Based Management facet interface for setting up an instance of SQL Server.

Diese API ist nicht mit CLS kompatibel. Die CLS-kompatible Alternative ist .

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayNameKeyAttribute("IServerSetupFacet_Name")> _
<DisplayDescriptionKeyAttribute("IServerSetupFacet_Desc")> _
Public Interface IServerSetupFacet _
    Inherits IDmfFacet
'Usage
Dim instance As IServerSetupFacet
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute("IServerSetupFacet_Name")]
[DisplayDescriptionKeyAttribute("IServerSetupFacet_Desc")]
public interface IServerSetupFacet : IDmfFacet
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute(L"IServerSetupFacet_Name")]
[DisplayDescriptionKeyAttribute(L"IServerSetupFacet_Desc")]
public interface class IServerSetupFacet : IDmfFacet
[<CLSCompliantAttribute(false)>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayNameKeyAttribute("IServerSetupFacet_Name")>]
[<DisplayDescriptionKeyAttribute("IServerSetupFacet_Desc")>]
type IServerSetupFacet =  
    interface
        interface IDmfFacet
    end
public interface IServerSetupFacet extends IDmfFacet

Der IServerSetupFacet-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AgentDomainGroup Gets the domain group that is associated with the SQL Server Agent
Öffentliche Eigenschaft AgentServiceAccount Gets the service account for the SQL Server Agent service.
Öffentliche Eigenschaft AgentStartMode Gets the start mode for the SQL Server Agent service.
Öffentliche Eigenschaft BackupDirectory Gets the backup directory for the instance of SQL Server.
Öffentliche Eigenschaft BrowserServiceAccount Gets the service account for the SQL Server Browser service.
Öffentliche Eigenschaft BrowserStartMode Gets the start mode for the SQL Server Browser service.
Öffentliche Eigenschaft Collation Gets the collation that is used by the instance of SQL Server.
Öffentliche Eigenschaft DefaultFile Gets the default file for the instance of SQL Server.
Öffentliche Eigenschaft DefaultLog Gets the default log file for the instance of SQL Server.
Öffentliche Eigenschaft EngineServiceAccount Gets the name of the Engine Service Account.
Öffentliche Eigenschaft FilestreamLevel Gets the file stream level for the instance of SQL Server.
Öffentliche Eigenschaft FilestreamShareName Gets the file stream share name for the instance of SQL Server.
Öffentliche Eigenschaft InstallDataDirectory Gets the directory for install data.
Öffentliche Eigenschaft InstallSharedDirectory Gets the directory for shared install information.
Öffentliche Eigenschaft InstanceName Gets the name of the instance of SQL Server.
Öffentliche Eigenschaft LoginMode Gets the login mode for the instance of SQL Server.
Öffentliche Eigenschaft NamedPipesEnabled Gets the Boolean value that determines whether named pipes are enabled on the instance of SQL Server.
Öffentliche Eigenschaft ServiceInstanceIdSuffix Gets the ID suffix for the SQL Server service.
Öffentliche Eigenschaft ServiceName Gets the service name.
Öffentliche Eigenschaft ServiceStartMode Gets the start mode for the SQL Server service.
Öffentliche Eigenschaft SqlDomainGroup Gets the domain group for the instance of SQL Server.
Öffentliche Eigenschaft TcpEnabled Gets the Boolean value that determines whether TCP/IP protocol is enabled on the instance of SQL Server.
Öffentliche Eigenschaft TempdbLogPath Gets the path for the tempdb database transaction log.
Öffentliche Eigenschaft TempdbPrimaryFilePath Gets the path for the tempdb database primary data file.
Öffentliche Eigenschaft UserInstancesEnabled Gets the Boolean value that determines whether user instances are enabled.
Öffentliche Eigenschaft WindowsUsersAndGroupsInSysadminRole Gets the Windows users and groups that are assigned to the system administrator role.

Zum Anfang