共用方式為


IServerInformation.ResourceVersionString 屬性

Gets the version of the SQL Server resource in string format.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("Server_ResourceVersionStringName")> _
<DisplayDescriptionKeyAttribute("Server_ResourceVersionStringDesc")> _
ReadOnly Property ResourceVersionString As String 
    Get
'用途
Dim instance As IServerInformation 
Dim value As String 

value = instance.ResourceVersionString
[DisplayNameKeyAttribute("Server_ResourceVersionStringName")]
[DisplayDescriptionKeyAttribute("Server_ResourceVersionStringDesc")]
string ResourceVersionString { get; }
[DisplayNameKeyAttribute(L"Server_ResourceVersionStringName")]
[DisplayDescriptionKeyAttribute(L"Server_ResourceVersionStringDesc")]
property String^ ResourceVersionString {
    String^ get ();
}
[<DisplayNameKeyAttribute("Server_ResourceVersionStringName")>]
[<DisplayDescriptionKeyAttribute("Server_ResourceVersionStringDesc")>]
abstract ResourceVersionString : string
function get ResourceVersionString () : String

屬性值

型別:System.String
The version of the SQL Server resource in string format.

請參閱

參考

IServerInformation 介面

Microsoft.SqlServer.Management.Smo 命名空間