共用方式為


IServerSetupFacet 介面

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

此 API 不符合 CLS 標準。 符合 CLS 標準的替代項目是 。

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

語法

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

IServerSetupFacet 型別公開下列成員。

屬性

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

上層

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間