Share via


IServerSelectionFacet.Platform Property

Gets the platform on which the server is running.

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 IServerSelectionFacet
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
A string value that specifies the platform on which the server is running.