IServerInformation 接口
An interface based on the Information type properties.
此 API 不符合 CLS。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<RootFacetAttribute(GetType(Server))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayNameKeyAttribute("IServerInformation_Name")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<CLSCompliantAttribute(False)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<DisplayDescriptionKeyAttribute("IServerInformation_Desc")> _
Public Interface IServerInformation _
Inherits IDmfFacet
用法
Dim instance As IServerInformation
[RootFacetAttribute(typeof(Server))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute("IServerInformation_Name")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayDescriptionKeyAttribute("IServerInformation_Desc")]
public interface IServerInformation : IDmfFacet
[RootFacetAttribute(typeof(Server))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute(L"IServerInformation_Name")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayDescriptionKeyAttribute(L"IServerInformation_Desc")]
public interface class IServerInformation : IDmfFacet
[<RootFacetAttribute(typeof(Server))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayNameKeyAttribute("IServerInformation_Name")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<CLSCompliantAttribute(false)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<DisplayDescriptionKeyAttribute("IServerInformation_Desc")>]
type IServerInformation =
interface
interface IDmfFacet
end
public interface IServerInformation extends IDmfFacet
IServerInformation 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
BuildClrVersionString | Gets the CLR build version string for the instance of SQL Server. | |
BuildNumber | Gets the build number for the instance of SQL Server. | |
Collation | Gets collation information for the instance of SQL Server. | |
CollationID | Gets the CollationID for the instance of SQL Server. | |
ComparisonStyle | Gets the Comparision Style.for the instance of SQL Server. | |
ComputerNamePhysicalNetBIOS | Gets the host computer physical NetBIOS name. | |
Edition | Get the edition of the instance of SQL Server. | |
EngineEdition | Gets the SQL Server Engine edition as an edition object. | |
ErrorLogPath | Gets the error log path for the instance of SQL Server. | |
IsCaseSensitive | Gets a Boolean value that specifies case sensitivity. | |
IsClustered | Gets a Boolean value that specifies if the instance of SQL Server is clustered. | |
IsFullTextInstalled | Gets a Boolean value that specifies if Full-Text is installed on the instance of SQL Server. | |
IsSingleUser | Gets a Boolean value that specifies if the instance of SQL Server is read-only. | |
Language | Gets the SQL Server language. | |
MasterDBLogPath | Gets the master database log path for the instance of SQL Server. | |
MasterDBPath | Gets the master database data path for the instance of SQL Server. | |
MaxPrecision | Gets the greatest decimal precision available for exact numeric data types (not floating point), including decimal and numeric. | |
NetName | Gets the network name for an instance of SQL Server. | |
OSVersion | Gets the host computer operating system version. | |
PhysicalMemory | Gets the total RAM installed, in MB, for the computer that is running the instance of SQL Server. | |
Platform | Gets the hardware platform for the computer that is running the instance of SQL Server. | |
Processors | Gets the number of processors that are installed on the computer that is running the instance of SQL Server. | |
Product | Gets the product title for the instance of SQL Server. | |
ProductLevel | Gets the product level for the instance of SQL Server. | |
ResourceLastUpdateDateTime | Gets a DateTime object that specifies the last time the resource database was updated. | |
ResourceVersionString | Gets the version number of the resource database. | |
RootDirectory | Gets the root directory for the instance of SQL Server. | |
SqlCharSet | Gets the SQL character set ID from the collation ID as a tinyint. | |
SqlCharSetName | Gets the SQL character set name from the collation. | |
SqlSortOrder | Gets the SQL sort order ID from the collation. | |
SqlSortOrderName | Gets SQL sort order name from the collation. | |
VersionMajor | Gets the portion of a component version identifier to the left of the first decimal point in the identifier. | |
VersionMinor | Gets the portion of a component version identifier to the right of the first decimal point in the identifier. | |
VersionString | Gets the date, version, and processor type of the instance of SQL Server. |
页首
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。