Bagikan melalui


Server.ServiceInstanceId Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceInstanceId As String
    Get
'Usage
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

Property Value

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

See Also

Reference

Planning a SQL Server Installation

Other Resources