IServerInformation 接口

An interface based on the Information type properties.

此 API 不符合 CLS。 

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("IServerInformation_Name")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<RootFacetAttribute(GetType(Server))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<CLSCompliantAttribute(False)> _
<DisplayDescriptionKeyAttribute("IServerInformation_Desc")> _
Public Interface IServerInformation _
    Inherits IDmfFacet
用法
Dim instance As IServerInformation
[DisplayNameKeyAttribute("IServerInformation_Name")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[RootFacetAttribute(typeof(Server))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[CLSCompliantAttribute(false)]
[DisplayDescriptionKeyAttribute("IServerInformation_Desc")]
public interface IServerInformation : IDmfFacet
[DisplayNameKeyAttribute(L"IServerInformation_Name")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[RootFacetAttribute(typeof(Server))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[CLSCompliantAttribute(false)]
[DisplayDescriptionKeyAttribute(L"IServerInformation_Desc")]
public interface class IServerInformation : IDmfFacet
[<DisplayNameKeyAttribute("IServerInformation_Name")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<RootFacetAttribute(typeof(Server))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<CLSCompliantAttribute(false)>]
[<DisplayDescriptionKeyAttribute("IServerInformation_Desc")>]
type IServerInformation =  
    interface 
        interface IDmfFacet 
    end
public interface IServerInformation extends IDmfFacet

IServerInformation 类型公开以下成员。

属性

  名称 说明
公共属性 BuildClrVersionString Gets the CLR build version string for the instance of SQL Server.
公共属性 BuildNumber Gets the build number for the instance of SQL Server.
公共属性 Collation Gets the collation information for the instance of SQL Server.
公共属性 CollationID Gets the collation identifier for the instance of SQL Server.
公共属性 ComparisonStyle Gets the comparison style for the instance of SQL Server.
公共属性 ComputerNamePhysicalNetBIOS Gets the host computer physical NetBIOS name.
公共属性 Edition Gets the edition of the instance of SQL Server.
公共属性 EngineEdition Gets the SQL Server Engine edition as an edition object.
公共属性 ErrorLogPath Gets the error log path for the instance of SQL Server.
公共属性 IsCaseSensitive Gets a value that indicates whether the server uses case-sensitive.
公共属性 IsClustered Gets a value that indicates whether the instance of SQL Server is clustered.
公共属性 IsFullTextInstalled Gets a value that indicates whether the Full-Text is installed on the instance of SQL Server.
公共属性 IsHadrEnabled Gets a value that indicates whether the Hadr is enabled.
公共属性 IsSingleUser Gets a value that indicates whether the instance of SQL Server is read-only.
公共属性 Language Gets the SQL Server language.
公共属性 MasterDBLogPath Gets the master database log path for the instance of SQL Server.
公共属性 MasterDBPath Gets the master database data path for the instance of SQL Server.
公共属性 MaxPrecision Gets the greatest decimal precision available for exact numeric data types (not floating point), including decimal and numeric.
公共属性 NetName Gets the network name for an instance of SQL Server.
公共属性 OSVersion Gets the host computer operating system version.
公共属性 PhysicalMemory Gets the total RAM installed, in MB, for the computer that is running the instance of SQL Server.
公共属性 Platform Gets the hardware platform for the computer that is running the instance of SQL Server.
公共属性 Processors Gets the number of processors that are installed on the computer that is running the instance of SQL Server.
公共属性 Product Gets the product title for the instance of SQL Server.
公共属性 ProductLevel Gets the product level for the instance of SQL Server.
公共属性 ResourceLastUpdateDateTime Gets a DateTime object that specifies the last time the resource database was updated.
公共属性 ResourceVersionString Gets the version of the SQL Server resource in string format.
公共属性 RootDirectory Gets the root directory for the instance of SQL Server.
公共属性 SqlCharSet Gets the SQL character set ID from the collation ID as a tinyint.
公共属性 SqlCharSetName Gets the SQL character set name from the collation.
公共属性 SqlSortOrder Gets the SQL sort order ID from the collation.
公共属性 SqlSortOrderName Gets the SQL sort order name from the collation.
公共属性 VersionMajor Gets the portion of a component version identifier to the left of the first decimal point in the identifier.
公共属性 VersionMinor Gets the portion of a component version identifier to the right of the first decimal point in the identifier.
公共属性 VersionString Gets the date, version, and processor type of the instance of SQL Server.

页首

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间