共用方式為


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.

public Microsoft.SqlServer.Management.Common.ServerVersion ServerVersion { get; }
member this.ServerVersion : Microsoft.SqlServer.Management.Common.ServerVersion
Public ReadOnly Property ServerVersion As ServerVersion

Property Value

Applies to