Delen via


ConnectedServicesWebService.CreateConnectedService Method

Create a new connected service associated with this project

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function CreateConnectedService ( _
    connectedServiceCreationData As ConnectedServiceCreationData _
) As ConnectedServiceMetadata
[WebMethodAttribute]
public ConnectedServiceMetadata CreateConnectedService(
    ConnectedServiceCreationData connectedServiceCreationData
)
[WebMethodAttribute]
public:
ConnectedServiceMetadata^ CreateConnectedService(
    ConnectedServiceCreationData^ connectedServiceCreationData
)
[<WebMethodAttribute>]
member CreateConnectedService : 
        connectedServiceCreationData:ConnectedServiceCreationData -> ConnectedServiceMetadata
public function CreateConnectedService(
    connectedServiceCreationData : ConnectedServiceCreationData
) : ConnectedServiceMetadata

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ConnectedServicesWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace