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


Интерфейс 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