Share via


VersionControlServer.QueryShelvesets 方法 (String, String)

查询数组具有指定名称和所有者的 Shelveset 对象。

命名空间:  Microsoft.TeamFoundation.VersionControl.Client
程序集:  Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

语法

声明
Public Function QueryShelvesets ( _
    shelvesetName As String, _
    shelvesetOwner As String _
) As Shelveset()
public Shelveset[] QueryShelvesets(
    string shelvesetName,
    string shelvesetOwner
)

参数

  • shelvesetName
    类型:System.String
    查找的搁置集的名称。无论名称,指定 null 与任何搁置集。
  • shelvesetOwner
    类型:System.String
    查找搁置集的所有者。无论所有者,指定 null 与任何搁置集。

返回值

类型:array<Microsoft.TeamFoundation.VersionControl.Client.Shelveset[]
数组与查询的 Shelveset 对象。

.NET Framework 安全性

请参见

参考

VersionControlServer 类

QueryShelvesets 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间