Delen via


TeamFoundationConnectedServicesService.CreateConnectedService Method

Create a new connected service associated with this project.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function CreateConnectedService ( _
    requestContext As TeamFoundationRequestContext, _
    connectedServiceCreationData As ConnectedServiceCreationData _
) As ConnectedServiceMetadata
public ConnectedServiceMetadata CreateConnectedService(
    TeamFoundationRequestContext requestContext,
    ConnectedServiceCreationData connectedServiceCreationData
)
public:
ConnectedServiceMetadata^ CreateConnectedService(
    TeamFoundationRequestContext^ requestContext, 
    ConnectedServiceCreationData^ connectedServiceCreationData
)
member CreateConnectedService : 
        requestContext:TeamFoundationRequestContext * 
        connectedServiceCreationData:ConnectedServiceCreationData -> ConnectedServiceMetadata
public function CreateConnectedService(
    requestContext : TeamFoundationRequestContext, 
    connectedServiceCreationData : ConnectedServiceCreationData
) : ConnectedServiceMetadata

Parameters

Return Value

Type: Microsoft.TeamFoundation.Server.Core.ConnectedServiceMetadata
The ConnectedServiceMetadata for the new service.

.NET Framework Security

See Also

Reference

TeamFoundationConnectedServicesService Class

Microsoft.TeamFoundation.Server.Core Namespace