共用方式為


ServiceDefinition.IsSingleton Property

Note: This API is now obsolete.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'宣告
<ClientPropertyAttribute(ClientVisibility.Private)> _
<ObsoleteAttribute("The IsSingleton property is no longer used. It will always return true for backwards compatibility purposes")> _
Public ReadOnly Property IsSingleton As Boolean
    Get
[ClientPropertyAttribute(ClientVisibility.Private)]
[ObsoleteAttribute("The IsSingleton property is no longer used. It will always return true for backwards compatibility purposes")]
public bool IsSingleton { get; }
[ClientPropertyAttribute(ClientVisibility::Private)]
[ObsoleteAttribute(L"The IsSingleton property is no longer used. It will always return true for backwards compatibility purposes")]
public:
property bool IsSingleton {
    bool get ();
}
[<ClientPropertyAttribute(ClientVisibility.Private)>]
[<ObsoleteAttribute("The IsSingleton property is no longer used. It will always return true for backwards compatibility purposes")>]
member IsSingleton : bool
function get IsSingleton () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ServiceDefinition Class

Microsoft.TeamFoundation.Framework.Server Namespace