共用方式為


TeamFoundationVersionControlService.SetPendingChangeProperty Method

Note: This API is now obsolete.

Sets properties on the specified pending changes.

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

Syntax

'Declaration
<ObsoleteAttribute("Please use SetPendingChangeAttribute to set attributes on pending changes.",  _
    False)> _
Public Function SetPendingChangeProperty ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    pendingChangePropertyValues As ArtifactPropertyValue() _
) As TeamFoundationDataReader
[ObsoleteAttribute("Please use SetPendingChangeAttribute to set attributes on pending changes.", 
    false)]
public TeamFoundationDataReader SetPendingChangeProperty(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ArtifactPropertyValue[] pendingChangePropertyValues
)
[ObsoleteAttribute(L"Please use SetPendingChangeAttribute to set attributes on pending changes.", 
    false)]
public:
TeamFoundationDataReader^ SetPendingChangeProperty(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ArtifactPropertyValue^>^ pendingChangePropertyValues
)
[<ObsoleteAttribute("Please use SetPendingChangeAttribute to set attributes on pending changes.", 
    false)>]
member SetPendingChangeProperty : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        pendingChangePropertyValues:ArtifactPropertyValue[] -> TeamFoundationDataReader
public function SetPendingChangeProperty(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    workspaceOwner : String, 
    pendingChangePropertyValues : ArtifactPropertyValue[]
) : TeamFoundationDataReader

Parameters

  • workspaceName
    Type: System.String

    The name of the workspace to use for local path to server path mapping if local path itemspecs are provided.

  • workspaceOwner
    Type: System.String

    The name of the workspace owner if workspace name is provided.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
Returns TeamFoundationDataReader.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace