Checks if a connected service exists anywhere in the collection, if user has full permissions in specified project
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function DoesConnectedServiceExist ( _
    name As String, _
    teamProject As String _
) As Boolean
public bool DoesConnectedServiceExist(
    string name,
    string teamProject
)
public:
bool DoesConnectedServiceExist(
    String^ name, 
    String^ teamProject
)
member DoesConnectedServiceExist : 
        name:string * 
        teamProject:string -> bool
public function DoesConnectedServiceExist(
    name : String, 
    teamProject : String
) : boolean
Parameters
- name
 Type: System.String
- teamProject
 Type: System.String
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.