共用方式為


IServerInformation.Platform 屬性

Gets the hardware platform for the computer that is running the instance of SQL Server.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("Server_PlatformDesc")> _
<DisplayNameKeyAttribute("Server_PlatformName")> _
ReadOnly Property Platform As String 
    Get
'用途
Dim instance As IServerInformation 
Dim value As String 

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

屬性值

型別:System.String
The hardware platform for the computer that is running the instance of SQL Server.

請參閱

參考

IServerInformation 介面

Microsoft.SqlServer.Management.Smo 命名空間