Saves the updated resource in the catalog. 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
Sub SaveResource ( _
resource As CatalogResource _
)
void SaveResource(
CatalogResource resource
)
void SaveResource(
CatalogResource^ resource
)
abstract SaveResource :
resource:CatalogResource -> unit
function SaveResource(
resource : CatalogResource
)
Parameters
resource
Type: Microsoft.TeamFoundation.Framework.Client.CatalogResourceThe resource to update.
.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.