共用方式為


ServiceInstanceId 屬性

Gets the ID value that uniquely identifies the service instance for this instance of SQL Server.

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceInstanceId As String
    Get
'用途
Dim instance As Server
Dim value As String

value = instance.ServiceInstanceId
[SfcPropertyAttribute]
public string ServiceInstanceId { get; }
[SfcPropertyAttribute]
public:
property String^ ServiceInstanceId {
    String^ get ();
}
[<SfcPropertyAttribute>]
member ServiceInstanceId : string
function get ServiceInstanceId () : String

屬性值

型別:System. . :: . .String
A In32 value that specifies service instance ID value for the instance of SQL Server.

請參閱

參考

Planning a SQL Server Installation

其他資源