Интерфейс 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)

Синтаксис

'Декларация
<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
'Применение
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

Тип 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.

В начало