Share via


CatalogChangeContext.AttachResource Method

Adds this resource to the change context. It will be sent to the server when Save() is called. Note that service definitions that exist as service references will be created if they are new and updated if they are not.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub AttachResource ( _
    resource As CatalogResource _
)
public void AttachResource(
    CatalogResource resource
)
public:
void AttachResource(
    CatalogResource^ resource
)
member AttachResource : 
        resource:CatalogResource -> unit
public function AttachResource(
    resource : CatalogResource
)

Parameters

.NET Framework Security

See Also

Reference

CatalogChangeContext Class

Microsoft.TeamFoundation.Framework.Client Namespace