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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。