Compartir a través de


Information.Version Propiedad

Gets the version of the instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Version As Version 
    Get
'Uso
Dim instance As Information 
Dim value As Version 

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

Valor de la propiedad

Tipo: System.Version
A Version object that specifies the version of the instance of SQL Server.

Ejemplos

Configurar SQL Server en SMO

Vea también

Referencia

Information Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo