共用方式為


IServerSetupFacet.ServiceInstanceIdSuffix 屬性

Gets the ID suffix for the SQL Server service.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("IServerSetupFacet_ServiceInstanceIdSuffixDesc")> _
<DisplayNameKeyAttribute("IServerSetupFacet_ServiceInstanceIdSuffixName")> _
ReadOnly Property ServiceInstanceIdSuffix As String 
    Get
'用途
Dim instance As IServerSetupFacet 
Dim value As String 

value = instance.ServiceInstanceIdSuffix
[DisplayDescriptionKeyAttribute("IServerSetupFacet_ServiceInstanceIdSuffixDesc")]
[DisplayNameKeyAttribute("IServerSetupFacet_ServiceInstanceIdSuffixName")]
string ServiceInstanceIdSuffix { get; }
[DisplayDescriptionKeyAttribute(L"IServerSetupFacet_ServiceInstanceIdSuffixDesc")]
[DisplayNameKeyAttribute(L"IServerSetupFacet_ServiceInstanceIdSuffixName")]
property String^ ServiceInstanceIdSuffix {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("IServerSetupFacet_ServiceInstanceIdSuffixDesc")>]
[<DisplayNameKeyAttribute("IServerSetupFacet_ServiceInstanceIdSuffixName")>]
abstract ServiceInstanceIdSuffix : string
function get ServiceInstanceIdSuffix () : String

屬性值

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

範例

設定屬性

請參閱

參考

IServerSetupFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間