Information Members
The Information class contains nonconfigurable information about the instance of SQL Server. These include system information and options that are set during Setup, such as the collation.
The following tables list the members exposed by the Information type.
Public Properties
(see also Protected Properties )
| Name | Description | |
|---|---|---|
![]() |
BuildClrVersion | Gets a version object that identifies the common language runtime that is running in the server. |
![]() |
BuildClrVersionString | A string that identifies the build number of the common language runtime that is running in the server. |
![]() |
BuildNumber | Gets the build number for the instance of SQL Server. |
![]() |
Collation | Gets the default collation for the instance of SQL Server. |
![]() |
CollationID | Gets the collation ID for the instance of SQL Server. |
![]() |
ComparisonStyle | Gets the comparison style for the instance of SQL Server. |
![]() |
ComputerNamePhysicalNetBIOS | Gets the computer name stored in the net BIOS. |
![]() |
Edition | Gets the edition of the instance of SQL Server. |
![]() |
EngineEdition | Gets the edition of the engine for the instance of SQL Server. |
![]() |
ErrorLogPath | Gets the file directory where the error log is stored on the instance of SQL Server. |
![]() |
IsCaseSensitive | Gets the Boolean value that specifies whether the instance of SQL Server is case-sensitive. |
![]() |
IsClustered | Gets the Boolean value that specifies whether the instance of SQL Server is a clustered server. |
![]() |
IsFullTextInstalled | Gets the Boolean value that specifies whether full-text service is installed on the instance of SQL Server. |
![]() |
IsSingleUser | Gets the Boolean value that specifies whether the instance of SQL Server is read-only. |
![]() |
Language | Gets the default language used by the instance of SQL Server. |
![]() |
MasterDBLogPath | Gets the log file directory for the master database on the instance of SQL Server. |
![]() |
MasterDBPath | Gets the database file directory for the master database on 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 NetBIOS name of the network on which the instance of SQL Server is running. |
![]() |
OSVersion | Gets the operating system version of the computer running the instance of SQL Server. |
![]() |
Parent | Gets the Server object that is the parent object of the Information object. |
![]() |
PhysicalMemory | Gets the total RAM installed, in MB, for the computer running the instance of SQL Server. |
![]() |
Platform | Gets the hardware platform for the computer running the instance of SQL Server. |
![]() |
Processors | Gets the number of processors installed on the computer 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. |
![]() |
Properties | Gets a collection of Property objects that represent the object properties. (inherited from SqlSmoObject) |
![]() |
ResourceLastUpdateDateTime | Gets the date and time when the SQL Server resource was last updated. |
![]() |
ResourceVersion | Gets the version of the SQL Server resource. |
![]() |
ResourceVersionString | Gets the version of the SQL Server resource in string format. |
![]() |
RootDirectory | Gets the root directory for the instance of SQL Server. |
![]() |
SqlCharSet | Gets the Int16 value that identifies the character set used by the instance of SQL Server. |
![]() |
SqlCharSetName | Gets the name of the character set used by the instance of SQL Server. |
![]() |
SqlSortOrder | Gets the Int16 value that identifies the sort order used by the instance of SQL Server. |
![]() |
SqlSortOrderName | Gets the name of the sort order used by the instance of SQL Server. |
![]() |
State | Gets the state of the referenced object. (inherited from SmoObjectBase) |
![]() |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (inherited from SqlSmoObject) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase) |
![]() |
Version | Gets the version of the instance of SQL Server. |
![]() |
VersionMajor | Gets the major version number of the instance of SQL Server. |
![]() |
VersionMinor | Gets the minor version of the instance of SQL Server. |
![]() |
VersionString | Gets the date, version, and processor type of the instance of SQL Server. |
Top
Protected Properties
| Name | Description | |
|---|---|---|
![]() |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (inherited from SqlSmoObject) |
![]() |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (inherited from SqlSmoObject) |
![]() |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (inherited from SqlSmoObject) |
![]() |
ScalarResult | Gets the scalar result for the referenced object. (inherited from SqlSmoObject) |
Top
Public Methods
(see also Protected Methods )
| Name | Description | |
|---|---|---|
![]() |
Discover | (inherited from SqlSmoObject ) |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() ![]() |
GetChildType | (inherited from SqlSmoObject ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
GetTypeFromUrnSkeleton | (inherited from SqlSmoObject ) |
![]() |
Initialize | Overloaded. Initializes the object and forces the properties be loaded. (inherited from SqlSmoObject) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (inherited from SqlSmoObject) |
![]() |
ToString | Returns a String that represents the referenced object. (inherited from SqlSmoObject) |
![]() |
Validate | (inherited from SmoObjectBase ) |
Top
Protected Methods
| Name | Description | |
|---|---|---|
![]() |
AddDatabaseContext | (inherited from SqlSmoObject ) |
![]() |
AlterImpl | (inherited from SqlSmoObject ) |
![]() |
AlterImplFinish | (inherited from SqlSmoObject ) |
![]() |
AlterImplInit | (inherited from SqlSmoObject ) |
![]() |
AlterImplWorker | (inherited from SqlSmoObject ) |
![]() |
BindDefaultImpl | (inherited from SqlSmoObject ) |
![]() |
BindRuleImpl | (inherited from SqlSmoObject ) |
![]() |
CheckCollation | (inherited from SqlSmoObject ) |
![]() |
CheckObjectState | Overloaded. Validates the state of the referenced object. (inherited from SqlSmoObject) |
![]() |
CheckObjectStateImpl | (inherited from SqlSmoObject ) |
![]() |
CheckVersion100 | (inherited from SqlSmoObject ) |
![]() |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (inherited from SqlSmoObject) |
![]() |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (inherited from SqlSmoObject) |
![]() |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (inherited from SqlSmoObject) |
![]() |
CheckVersionBelow90 | (inherited from SqlSmoObject ) |
![]() |
CleanObject | (inherited from SqlSmoObject ) |
![]() |
CreateImpl | (inherited from SqlSmoObject ) |
![]() |
CreateImplFinish | (inherited from SqlSmoObject ) |
![]() |
CreateImplInit | (inherited from SqlSmoObject ) |
![]() |
DropImpl | (inherited from SqlSmoObject ) |
![]() |
DropImplWorker | (inherited from SqlSmoObject ) |
![]() |
EnumScriptImpl | (inherited from SqlSmoObject ) |
![]() |
EnumScriptImplWorker | (inherited from SqlSmoObject ) |
![]() |
Finalize | (inherited from Object ) |
![]() |
FormatSqlVariant | (inherited from SqlSmoObject ) |
![]() |
GenerateDataSpaceFileStreamScript | (inherited from SqlSmoObject ) |
![]() |
GenerateDataSpaceScript | (inherited from SqlSmoObject ) |
![]() |
GetBindDefaultScript | (inherited from SqlSmoObject ) |
![]() |
GetBindRuleScript | (inherited from SqlSmoObject ) |
![]() |
GetBoolParameter | Overloaded. (inherited from SqlSmoObject ) |
![]() |
GetDateTimeParameter | (inherited from SqlSmoObject ) |
![]() |
GetDateTimeParameterAsInt | (inherited from SqlSmoObject ) |
![]() |
GetDBName | Gets the database name that is associated with the object. (inherited from SqlSmoObject) |
![]() |
GetEnumParameter | (inherited from SqlSmoObject ) |
![]() |
GetFragOptionString | (inherited from SqlSmoObject ) |
![]() |
GetGuidParameter | (inherited from SqlSmoObject ) |
![]() |
GetParameter | Overloaded. (inherited from SqlSmoObject ) |
![]() |
GetPropValue | (inherited from SqlSmoObject ) |
![]() |
GetPropValueOptional | (inherited from SqlSmoObject ) |
![]() |
GetPropValueOptionalAllowNull | (inherited from SqlSmoObject ) |
![]() |
GetRealValue | (inherited from SqlSmoObject ) |
![]() |
GetScriptingOptionsForCreate | (inherited from SqlSmoObject ) |
![]() |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (inherited from SqlSmoObject) |
![]() |
GetServerObject | (inherited from SqlSmoObject ) |
![]() |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (inherited from SqlSmoObject) |
![]() |
GetStringParameter | Overloaded. (inherited from SqlSmoObject ) |
![]() |
GetTimeSpanParameterAsInt | (inherited from SqlSmoObject ) |
![]() |
GetUrnRecursive | Overloaded. (inherited from SqlSmoObject ) |
![]() |
ImplInitialize | (inherited from SqlSmoObject ) |
![]() ![]() |
IsCollectionDirty | (inherited from SqlSmoObject ) |
![]() |
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (inherited from SqlSmoObject) |
![]() |
IsObjectInitialized | Verifies whether the object has been initialized. (inherited from SqlSmoObject) |
![]() |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (inherited from SqlSmoObject) |
![]() |
IsVersion80SP3 | (inherited from SqlSmoObject ) |
![]() |
MarkDropped | (inherited from SqlSmoObject ) |
![]() |
MarkForDropImpl | (inherited from SqlSmoObject ) |
![]() |
MemberwiseClone | (inherited from Object ) |
![]() |
PostAlter | (inherited from SqlSmoObject ) |
![]() |
PostCreate | (inherited from SqlSmoObject ) |
![]() |
PostDrop | (inherited from SqlSmoObject ) |
![]() |
ScriptAlter | (inherited from SqlSmoObject ) |
![]() |
ScriptCreate | (inherited from SqlSmoObject ) |
![]() |
ScriptDdl | (inherited from SqlSmoObject ) |
![]() |
ScriptDrop | (inherited from SqlSmoObject ) |
![]() |
ScriptImpl | Overloaded. (inherited from SqlSmoObject ) |
![]() |
ScriptImplWorker | (inherited from SqlSmoObject ) |
![]() |
SetParentImpl | (inherited from SqlSmoObject ) |
![]() |
TouchImpl | (inherited from SqlSmoObject ) |
![]() ![]() |
Trace | (inherited from SqlSmoObject ) |
![]() |
UnbindDefaultImpl | (inherited from SqlSmoObject ) |
![]() |
UnbindRuleImpl | (inherited from SqlSmoObject ) |
![]() ![]() |
UpdateCollectionState2 | (inherited from SqlSmoObject ) |
Top
Public Events
| Name | Description | |
|---|---|---|
![]() |
PropertyChanged | (inherited from SqlSmoObject ) |
![]() |
PropertyMetadataChanged | (inherited from SqlSmoObject ) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.Discover | (inherited from SqlSmoObject ) | |
| Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.GetParent | (inherited from SqlSmoObject ) | |
| Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.GetProperty | (inherited from SqlSmoObject ) | |
| Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.GetUrn | (inherited from SqlSmoObject ) | |
| Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.Resolve | (inherited from SqlSmoObject ) | |
| Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.SetProperty | (inherited from SqlSmoObject ) | |
| Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider.GetPropertySet | (inherited from SqlSmoObject ) |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)