Поделиться через


Интерфейс IServerSelectionFacet

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

Этот API-интерфейс несовместим с CLS. 

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<CLSCompliantAttribute(False)> _
<DisplayNameKeyAttribute("IServerSelection_Name")> _
<DisplayDescriptionKeyAttribute("IServerSelection_Desc")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
Public Interface IServerSelectionFacet _
    Inherits IDmfFacet
'Применение
Dim instance As IServerSelectionFacet
[CLSCompliantAttribute(false)]
[DisplayNameKeyAttribute("IServerSelection_Name")]
[DisplayDescriptionKeyAttribute("IServerSelection_Desc")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface IServerSelectionFacet : IDmfFacet
[CLSCompliantAttribute(false)]
[DisplayNameKeyAttribute(L"IServerSelection_Name")]
[DisplayDescriptionKeyAttribute(L"IServerSelection_Desc")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface class IServerSelectionFacet : IDmfFacet
[<CLSCompliantAttribute(false)>]
[<DisplayNameKeyAttribute("IServerSelection_Name")>]
[<DisplayDescriptionKeyAttribute("IServerSelection_Desc")>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
type IServerSelectionFacet =  
    interface 
        interface IDmfFacet 
    end
public interface IServerSelectionFacet extends IDmfFacet

Тип IServerSelectionFacet обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство BuildNumber Gets the build number of the server.
Открытое свойство Collation Gets the collation used by the server.
Открытое свойство Edition Gets the edition of the server.
Открытое свойство IsCaseSensitive Gets a Boolean value that specifies whether the server uses case-sensitive syntax.
Открытое свойство Language Gets the language used by the server.
Открытое свойство NamedPipesEnabled Gets a Boolean value that specifies whether the server supports named pipes.
Открытое свойство OSVersion Gets the version of the operating system used by the computer hosting the server.
Открытое свойство Platform Gets the platform on which the server is running.
Открытое свойство TcpEnabled Gets a Boolean value that specifies whether Transmission Control Protocol (TCP) is enabled on the server.
Открытое свойство VersionMajor Gets the major digits of the version information.
Открытое свойство VersionMinor Gets the minor digits of the version information.

В начало

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo