Constructor for ConnectedServiceCreationData
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    name As String, _
    teamProject As String, _
    kind As ConnectedServiceKind, _
    friendlyName As String, _
    description As String, _
    serviceUri As Uri, _
    endpoint As Uri, _
    credentialsXml As String _
)
public ConnectedServiceCreationData(
    string name,
    string teamProject,
    ConnectedServiceKind kind,
    string friendlyName,
    string description,
    Uri serviceUri,
    Uri endpoint,
    string credentialsXml
)
public:
ConnectedServiceCreationData(
    String^ name, 
    String^ teamProject, 
    ConnectedServiceKind kind, 
    String^ friendlyName, 
    String^ description, 
    Uri^ serviceUri, 
    Uri^ endpoint, 
    String^ credentialsXml
)
new : 
        name:string * 
        teamProject:string * 
        kind:ConnectedServiceKind * 
        friendlyName:string * 
        description:string * 
        serviceUri:Uri * 
        endpoint:Uri * 
        credentialsXml:string -> ConnectedServiceCreationData
public function ConnectedServiceCreationData(
    name : String, 
    teamProject : String, 
    kind : ConnectedServiceKind, 
    friendlyName : String, 
    description : String, 
    serviceUri : Uri, 
    endpoint : Uri, 
    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 
- kind 
 Type: Microsoft.TeamFoundation.Framework.Client.ConnectedServiceKind- The kind of service. 
- friendlyName 
 Type: System.String- A friendly name to represent the service instead of 'name' which will often be a GUID. 
- description 
 Type: System.String- Extra description on the service. 
- serviceUri 
 Type: System.Uri- Optional uri to connect to the service such as https://microsoft.azure.com 
- endpoint 
 Type: System.Uri- A URI specific to this service. 
- credentialsXml 
 Type: System.String- Credentials in an xml format for connecting to this 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.
See Also
Reference
ConnectedServiceCreationData Class