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
<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
'Uso
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

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 collation information for the instance of SQL Server.
Propriedade pública CollationID Gets the CollationID for the instance of SQL Server.
Propriedade pública ComparisonStyle Gets the Comparision Style.for the instance of SQL Server.
Propriedade pública ComputerNamePhysicalNetBIOS Gets the host computer physical NetBIOS name.
Propriedade pública Edition Get 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 Boolean value that specifies case sensitivity.
Propriedade pública IsClustered Gets a Boolean value that specifies if the instance of SQL Server is clustered.
Propriedade pública IsFullTextInstalled Gets a Boolean value that specifies if Full-Text is installed on the instance of SQL Server.
Propriedade pública IsSingleUser Gets a Boolean value that specifies if 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 number of the resource database.
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 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