Information.BuildNumber Property

Gets the build number for the instance of SQL Server.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property BuildNumber As Integer 
    Get
'Usage
Dim instance As Information 
Dim value As Integer 

value = instance.BuildNumber
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public int BuildNumber { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property int BuildNumber {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member BuildNumber : int
function get BuildNumber () : int

Property Value

Type: System.Int32
An Int32 value that specifies the build number for the instance of SQL Server.

Examples

Configuring SQL Server in SMO

See Also

Reference

Information Class

Microsoft.SqlServer.Management.Smo Namespace