Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates the creation time of a single shelveset, or of all the shelvesets owned by a certain user.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Sub UpdateShelvesetCreationTime ( _
requestContext As TeamFoundationRequestContext, _
shelvesetName As String, _
ownerName As String, _
cutOffDate As Nullable(Of DateTime) _
)
public void UpdateShelvesetCreationTime(
TeamFoundationRequestContext requestContext,
string shelvesetName,
string ownerName,
Nullable<DateTime> cutOffDate
)
public:
void UpdateShelvesetCreationTime(
TeamFoundationRequestContext^ requestContext,
String^ shelvesetName,
String^ ownerName,
Nullable<DateTime> cutOffDate
)
member UpdateShelvesetCreationTime :
requestContext:TeamFoundationRequestContext *
shelvesetName:string *
ownerName:string *
cutOffDate:Nullable<DateTime> -> unit
public function UpdateShelvesetCreationTime(
requestContext : TeamFoundationRequestContext,
shelvesetName : String,
ownerName : String,
cutOffDate : Nullable<DateTime>
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
shelvesetName
Type: System.String(Optional) Indicates that only the shelveset with the given name should have its creation date updated.
ownerName
Type: System.StringRequired. The identity whose shelveset(s) have their creation date(s) updated.
cutOffDate
Type: System.Nullable<DateTime>(Optional) Indicates that only those shelvesets whose creation date is before the provided timestamp should be updated.
.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.