共用方式為


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 命名空間