RepositoryExtensions.GetVersionedItemProperty 方法
會取得已建立版本的項目相關聯的屬性。
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function GetVersionedItemProperty ( _
workspaceName As String, _
workspaceOwner As String, _
itemSpecs As ItemSpec(), _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyNameFilters As String() _
) As StreamingCollection(Of ArtifactPropertyValue)
[WebMethodAttribute]
public StreamingCollection<ArtifactPropertyValue> GetVersionedItemProperty(
string workspaceName,
string workspaceOwner,
ItemSpec[] itemSpecs,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
string[] propertyNameFilters
)
參數
- 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
- propertyNameFilters
型別:array<System.String[]
傳回值
型別:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ArtifactPropertyValue>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。