共用方式為


TeamFoundationVersionControlService.SetPendingChangeAttribute Method

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
Public Function SetPendingChangeAttribute ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    pendingChangePropertyValues As ArtifactPropertyValue() _
) As TeamFoundationDataReader
public TeamFoundationDataReader SetPendingChangeAttribute(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ArtifactPropertyValue[] pendingChangePropertyValues
)
public:
TeamFoundationDataReader^ SetPendingChangeAttribute(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ArtifactPropertyValue^>^ pendingChangePropertyValues
)
member SetPendingChangeAttribute : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        pendingChangePropertyValues:ArtifactPropertyValue[] -> TeamFoundationDataReader
public function SetPendingChangeAttribute(
    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