共用方式為


Information.Platform 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Platform As String 
    Get
'用途
Dim instance As Information 
Dim value As String 

value = instance.Platform
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public string Platform { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property String^ Platform {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member Platform : string
function get Platform () : String

屬性值

型別:System.String
A String value that specifies the hardware platform.

備註

The Platform property is a String value that specifies the hardware platform on which the instance of SQL Server is installed.

範例

在 SMO 中設定 SQL Server

請參閱

參考

Information 類別

Microsoft.SqlServer.Management.Smo 命名空間