IVsPersistConnectedServices.GetConnectedServices 方法

定义

获取指定的服务。

public:
 System::UInt32 GetConnectedServices(System::UInt32 dwMaxReferences, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties ^> ^ rgpServices);
public:
 unsigned int GetConnectedServices(unsigned int dwMaxReferences, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties ^> ^ rgpServices);
unsigned int GetConnectedServices(unsigned int dwMaxReferences, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties const &> const & rgpServices);
public uint GetConnectedServices (uint dwMaxReferences, Microsoft.VisualStudio.Shell.Interop.IVsConnectedServiceProperties[] rgpServices);
abstract member GetConnectedServices : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsConnectedServiceProperties[] -> uint32
Public Function GetConnectedServices (dwMaxReferences As UInteger, rgpServices As IVsConnectedServiceProperties()) As UInteger

参数

dwMaxReferences
UInt32

引用。

rgpServices
IVsConnectedServiceProperties[]

服务。

返回

UInt32

服务的数量。

适用于