Share via


ServiceCollection.Item Property (String)

NOTE: This API is now obsolete.

Obsolete.

Namespace:  Microsoft.SharePoint.Portal.Topology
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute> _
Public ReadOnly Default Property Item ( _
    instance As String _
) As Service
    Get
'Usage
Dim instance As ServiceCollection
Dim instance As String
Dim value As Service

value = instance(instance)
[ObsoleteAttribute]
public Service this[
    string instance
] { get; }

Parameters

Property Value

Type: Microsoft.SharePoint.Portal.Topology.Service

See Also

Reference

ServiceCollection Class

ServiceCollection Members

Item Overload

Microsoft.SharePoint.Portal.Topology Namespace