IServerSetupFacet 接口
Represents the Policy-Based Management facet interface for setting up an instance of SQL Server.
此 API 不符合 CLS。
命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayNameKeyAttribute("IServerSetupFacet_Name")> _
<CLSCompliantAttribute(False)> _
<DisplayDescriptionKeyAttribute("IServerSetupFacet_Desc")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
Public Interface IServerSetupFacet _
    Inherits IDmfFacet
用法
Dim instance As IServerSetupFacet
[DisplayNameKeyAttribute("IServerSetupFacet_Name")]
[CLSCompliantAttribute(false)]
[DisplayDescriptionKeyAttribute("IServerSetupFacet_Desc")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface IServerSetupFacet : IDmfFacet
[DisplayNameKeyAttribute(L"IServerSetupFacet_Name")]
[CLSCompliantAttribute(false)]
[DisplayDescriptionKeyAttribute(L"IServerSetupFacet_Desc")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface class IServerSetupFacet : IDmfFacet
[<DisplayNameKeyAttribute("IServerSetupFacet_Name")>]
[<CLSCompliantAttribute(false)>]
[<DisplayDescriptionKeyAttribute("IServerSetupFacet_Desc")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<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 | |
![]()  | 
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. | 
页首
.gif)