Server.Version Property

 

Applies To: SQL Server 2016 Preview

Gets the Version property value.

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

Syntax

[SfcSerializationAdapterAttribute(typeof(VersionSerializationAdapter))]
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)]
public Version Version { get; internal set; }
public:
[SfcSerializationAdapterAttribute((VersionSerializationAdapter^::typeid))]
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Matrix)]
property Version^ Version {
    Version^ get();
    internal: void set(Version^ value);
}
[<SfcSerializationAdapterAttribute(typeof(VersionSerializationAdapter))>]
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)>]
member Version : Version with get, internal set
<SfcSerializationAdapterAttribute(GetType(VersionSerializationAdapter))>
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Matrix)>
Public Property Version As Version
    Get
    Friend Set
End Property

Property Value

Type: System.Version

The Version object.

See Also

Server Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top