共用方式為


ConnectedServiceCreationData.ServiceMetadata Property

The service metadata which includes the name (ID), friendly name, description, kind, TeamProject and ProjectId

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction := ClientPropertySerialization.ClientToServerOnly)> _
Public Property ServiceMetadata As ConnectedServiceMetadata
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction = ClientPropertySerialization.ClientToServerOnly)]
public ConnectedServiceMetadata ServiceMetadata { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private, Direction = ClientPropertySerialization::ClientToServerOnly)]
public:
property ConnectedServiceMetadata^ ServiceMetadata {
    ConnectedServiceMetadata^ get ();
    void set (ConnectedServiceMetadata^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction = ClientPropertySerialization.ClientToServerOnly)>]
member ServiceMetadata : ConnectedServiceMetadata with get, set
function get ServiceMetadata () : ConnectedServiceMetadata 
function set ServiceMetadata (value : ConnectedServiceMetadata)

Property Value

Type: Microsoft.TeamFoundation.Server.Core.ConnectedServiceMetadata

.NET Framework Security

See Also

Reference

ConnectedServiceCreationData Class

Microsoft.TeamFoundation.Server.Core Namespace