Share via


IServerSetupFacet Interface

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

This API is not CLS-compliant. The CLS-compliant alternative is .

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

Syntax

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

The IServerSetupFacet type exposes the following members.

Properties

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

Top

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace