Share via


IServerSelectionFacet Interface

The IServerSelectionFacet class contains members that represent the SQL Server policy-based management server selection facet objects.

This API is not CLS-compliant. 

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

Syntax

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

The IServerSelectionFacet type exposes the following members.

Properties

  Name Description
Public property BuildNumber Gets the build number of the server.
Public property Collation Gets the collation used by the server.
Public property Edition Gets the edition of the server.
Public property IsCaseSensitive Gets a Boolean value that specifies whether the server uses case-sensitive syntax.
Public property Language Gets the language used by the server.
Public property NamedPipesEnabled Gets a Boolean value that specifies whether the server supports named pipes.
Public property OSVersion Gets the version of the operating system used by the computer hosting the server.
Public property Platform Gets the platform on which the server is running.
Public property TcpEnabled Gets a Boolean value that specifies whether Transmission Control Protocol (TCP) is enabled on the server.
Public property VersionMajor Gets the major digits of the version information.
Public property VersionMinor Gets the minor digits of the version information.

Top