Dela via


SqlAssembly.Version Property

Gets the version value of the referenced assembly.

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

Syntax

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

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

Property Value

Type: System.Version
An Int32 value that specifies the version value of the referenced assembly.