Partager via


IVsPersistConnectedServices.GetConnectedService Method

Gets the specified service.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Function GetConnectedService ( _
    szServiceIdentity As String _
) As IVsConnectedServiceProperties
IVsConnectedServiceProperties GetConnectedService(
    string szServiceIdentity
)
IVsConnectedServiceProperties^ GetConnectedService(
    [InAttribute] String^ szServiceIdentity
)
abstract GetConnectedService : 
        szServiceIdentity:string -> IVsConnectedServiceProperties
function GetConnectedService(
    szServiceIdentity : String
) : IVsConnectedServiceProperties

Parameters

  • szServiceIdentity
    Type: String

    The service ID.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsConnectedServiceProperties
The connected service.

.NET Framework Security

See Also

Reference

IVsPersistConnectedServices Interface

Microsoft.VisualStudio.Shell.Interop Namespace