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
- catalogResource
Type: Microsoft.TeamFoundation.Server.Core.CatalogResource
.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.