Compartir a través de


Interfaz IServerInformation

An interface based on the Information type properties.

Esta API no es compatible con CLS. 

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<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

El tipo IServerInformation expone los siguientes miembros.

Propiedades

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

Arriba

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo