Delen via


ConnectedServiceCreationData Constructor (String, String, ConnectedServiceKind, String, String, String, String, String)

Constructor for ConnectedServiceMetadata

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    teamProject As String, _
    kind As ConnectedServiceKind, _
    friendlyName As String, _
    description As String, _
    serviceUri As String, _
    endpoint As String, _
    credentialsXml As String _
)
public ConnectedServiceCreationData(
    string name,
    string teamProject,
    ConnectedServiceKind kind,
    string friendlyName,
    string description,
    string serviceUri,
    string endpoint,
    string credentialsXml
)
public:
ConnectedServiceCreationData(
    String^ name, 
    String^ teamProject, 
    ConnectedServiceKind kind, 
    String^ friendlyName, 
    String^ description, 
    String^ serviceUri, 
    String^ endpoint, 
    String^ credentialsXml
)
new : 
        name:string * 
        teamProject:string * 
        kind:ConnectedServiceKind * 
        friendlyName:string * 
        description:string * 
        serviceUri:string * 
        endpoint:string * 
        credentialsXml:string -> ConnectedServiceCreationData
public function ConnectedServiceCreationData(
    name : String, 
    teamProject : String, 
    kind : ConnectedServiceKind, 
    friendlyName : String, 
    description : String, 
    serviceUri : String, 
    endpoint : String, 
    credentialsXml : String
)

Parameters

  • name
    Type: System.String

    Name of the service such as subscription id or other GUID.

  • teamProject
    Type: System.String

    Name of the project associated with this service

  • friendlyName
    Type: System.String

    A friendly name to represent the service in place of 'name' which will often be a GUID.

  • description
    Type: System.String

    Extra description on the service.

  • credentialsXml
    Type: System.String

    Credentials in an xml format for connecting to this service.

.NET Framework Security

See Also

Reference

ConnectedServiceCreationData Class

ConnectedServiceCreationData Overload

Microsoft.TeamFoundation.Server.Core Namespace