SqlSmoObject.ServerVersion Property

Definition

Returns the ServerVersion of the Server that contains the object. If the object is not associated with a connected Server, the highest known server version is returned.

C#
public Microsoft.SqlServer.Management.Common.ServerVersion ServerVersion { get; }

Property Value

Applies to

Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0