Share via


IServerInformation 介面

An interface based on the Information type properties.

此 API 不符合 CLS 標準。 

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayNameKeyAttribute("IServerInformation_Name")> _
<DisplayDescriptionKeyAttribute("IServerInformation_Desc")> _
<RootFacetAttribute(GetType(Server))> _
Public Interface IServerInformation _
    Inherits IDmfFacet
'用途
Dim instance As IServerInformation
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute("IServerInformation_Name")]
[DisplayDescriptionKeyAttribute("IServerInformation_Desc")]
[RootFacetAttribute(typeof(Server))]
public interface IServerInformation : IDmfFacet
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute(L"IServerInformation_Name")]
[DisplayDescriptionKeyAttribute(L"IServerInformation_Desc")]
[RootFacetAttribute(typeof(Server))]
public interface class IServerInformation : IDmfFacet
[<CLSCompliantAttribute(false)>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayNameKeyAttribute("IServerInformation_Name")>]
[<DisplayDescriptionKeyAttribute("IServerInformation_Desc")>]
[<RootFacetAttribute(typeof(Server))>]
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 collation information for the instance of SQL Server.
公用屬性 CollationID Gets the CollationID for the instance of SQL Server.
公用屬性 ComparisonStyle Gets the Comparision Style.for the instance of SQL Server.
公用屬性 ComputerNamePhysicalNetBIOS Gets the host computer physical NetBIOS name.
公用屬性 Edition Get 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 Boolean value that specifies case sensitivity.
公用屬性 IsClustered Gets a Boolean value that specifies if the instance of SQL Server is clustered.
公用屬性 IsFullTextInstalled Gets a Boolean value that specifies if Full-Text is installed on the instance of SQL Server.
公用屬性 IsSingleUser Gets a Boolean value that specifies if 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 number of the resource database.
公用屬性 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 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 版支援此命名空間、類別或成員。