VersionControlServer.SetVersionedItemProperty 方法 (ItemSpec, VersionSpec, DeletedState, ItemType, String, String)

注意:這個應用程式開發介面現在已經過時。

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

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

語法

'宣告
<ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.",  _
    False)> _
Public Sub SetVersionedItemProperty ( _
    itemSpec As ItemSpec, _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyName As String, _
    value As String _
)
[ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.", 
    false)]
public void SetVersionedItemProperty(
    ItemSpec itemSpec,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    string propertyName,
    string value
)

參數

.NET Framework 安全性

請參閱

參考

VersionControlServer 類別

SetVersionedItemProperty 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間