Share via


IServerInformation.Platform Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_PlatformDesc")> _
<DisplayNameKeyAttribute("Server_PlatformName")> _
ReadOnly Property Platform As String
    Get
'Usage
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

Property Value

Type: System.String
String