Partilhar via


Interface IServerInformation

An interface based on the Information type properties.

Essa API não é compatível com CLS. 

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

Sintaxe

'Declaração
<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
'Uso
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

O tipo IServerInformation expõe os membros a seguir.

Propriedades

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

Início

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Smo