IVsPersistConnectedServices.GetConnectedService(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定的服务。
public:
Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties ^ GetConnectedService(System::String ^ szServiceIdentity);
public:
Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties ^ GetConnectedService(Platform::String ^ szServiceIdentity);
Microsoft::VisualStudio::Shell::Interop::IVsConnectedServiceProperties GetConnectedService(std::wstring const & szServiceIdentity);
public Microsoft.VisualStudio.Shell.Interop.IVsConnectedServiceProperties GetConnectedService (string szServiceIdentity);
abstract member GetConnectedService : string -> Microsoft.VisualStudio.Shell.Interop.IVsConnectedServiceProperties
Public Function GetConnectedService (szServiceIdentity As String) As IVsConnectedServiceProperties
参数
- szServiceIdentity
- String
服务 ID。
返回
连接的服务。