IServerInformation-Schnittstelle

An interface based on the Information type properties.

Diese API ist nicht mit CLS kompatibel. 

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

Syntax

'Declaration
<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
'Usage
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

Der IServerInformation-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.