共用方式為


RepositoryExtensions.SetVersionedItemProperty 方法

將屬性設定為已建立版本的項目。

命名空間:  Microsoft.TeamFoundation.VersionControl.Server
組件:  Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

語法

'宣告
<WebMethodAttribute> _
Public Sub SetVersionedItemProperty ( _
    workspaceName As String, _
    workspaceOwner As String, _
    itemSpecs As ItemSpec(), _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyValues As PropertyValue() _
)
[WebMethodAttribute]
public void SetVersionedItemProperty(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] itemSpecs,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    PropertyValue[] propertyValues
)

參數

.NET Framework 安全性

請參閱

參考

RepositoryExtensions 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間