Delen via


CatalogTransactionContext.AttachResource Method

Adds this resource to the change context. It will be sent to the server when Save() is called.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

CatalogTransactionContext Class

Microsoft.TeamFoundation.Server.Core Namespace