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
)
參數
- workspaceName
類型:System.String
- workspaceOwner
類型:System.String
- itemSpecs
類型:array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- versionSpec
類型:Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
- deletedState
類型:Microsoft.TeamFoundation.VersionControl.Server.DeletedState
- propertyValues
類型:array<Microsoft.TeamFoundation.Framework.Server.PropertyValue[]
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。