TeamFoundationResourceManagementService.SetServiceVersion Method
Sets the service version.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetServiceVersion ( _
requestContext As TeamFoundationRequestContext, _
serviceName As String, _
databaseCategory As String, _
serviceVersion As Integer, _
minServiceVersion As Integer _
)
public void SetServiceVersion(
TeamFoundationRequestContext requestContext,
string serviceName,
string databaseCategory,
int serviceVersion,
int minServiceVersion
)
public:
void SetServiceVersion(
TeamFoundationRequestContext^ requestContext,
String^ serviceName,
String^ databaseCategory,
int serviceVersion,
int minServiceVersion
)
member SetServiceVersion :
requestContext:TeamFoundationRequestContext *
serviceName:string *
databaseCategory:string *
serviceVersion:int *
minServiceVersion:int -> unit
public function SetServiceVersion(
requestContext : TeamFoundationRequestContext,
serviceName : String,
databaseCategory : String,
serviceVersion : int,
minServiceVersion : int
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
serviceName
Type: System.StringThe name of the service.
databaseCategory
Type: System.StringDatabase category.
serviceVersion
Type: System.Int32Version of the service. -1 means to remove the row
minServiceVersion
Type: System.Int32Minimum supported version.
.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.