Condividi tramite


Interfaccia IServerInformation

An interface based on the Information type properties.

Questa API non è conforme a CLS. 

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<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
'Utilizzo
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

Nel tipo IServerInformation sono esposti i membri seguenti.

Proprietà

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

In alto

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo