Information.ResourceVersion Property

Gets the version of the SQL Server resource.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ResourceVersion As Version 
    Get
'Usage
Dim instance As Information 
Dim value As Version 

value = instance.ResourceVersion
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public Version ResourceVersion { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property Version^ ResourceVersion {
    Version^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ResourceVersion : Version
function get ResourceVersion () : Version

Property Value

Type: System.Version
A Version value that specifies the version of the SQL Server resource.

Examples

Configuring SQL Server in SMO

See Also

Reference

Information Class

Microsoft.SqlServer.Management.Smo Namespace