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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
connectedServiceCreationData
Type: Microsoft.TeamFoundation.Server.Core.ConnectedServiceCreationDataAll the info needed to create a new connected servcie.
Return Value
Type: Microsoft.TeamFoundation.Server.Core.ConnectedServiceMetadata
The ConnectedServiceMetadata for the new service.
.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.