IServerSelectionFacet-Schnittstelle

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

Diese API ist nicht mit CLS kompatibel. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<DisplayNameKeyAttribute("IServerSelection_Name")> _
<DisplayDescriptionKeyAttribute("IServerSelection_Desc")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
Public Interface IServerSelectionFacet _
    Inherits IDmfFacet
'Usage
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

Der IServerSelectionFacet-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace