Partager via


ConnectedServiceMetadata Constructor (String, String, ConnectedServiceKind, 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 _
)
public ConnectedServiceMetadata(
    string name,
    string teamProject,
    ConnectedServiceKind kind,
    string friendlyName,
    string description,
    string serviceUri
)
public:
ConnectedServiceMetadata(
    String^ name, 
    String^ teamProject, 
    ConnectedServiceKind kind, 
    String^ friendlyName, 
    String^ description, 
    String^ serviceUri
)
new : 
        name:string * 
        teamProject:string * 
        kind:ConnectedServiceKind * 
        friendlyName:string * 
        description:string * 
        serviceUri:string -> ConnectedServiceMetadata
public function ConnectedServiceMetadata(
    name : String, 
    teamProject : String, 
    kind : ConnectedServiceKind, 
    friendlyName : String, 
    description : String, 
    serviceUri : 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.

.NET Framework Security

See Also

Reference

ConnectedServiceMetadata Class

ConnectedServiceMetadata Overload

Microsoft.TeamFoundation.Server.Core Namespace