EventCollection.GetById 方法
从Id值与集合中获取事件。
命名空间: Microsoft.ProjectServer.Client
程序集: Microsoft.ProjectServer.Client(位于 Microsoft.ProjectServer.Client.dll 中)
语法
声明
<RemoteAttribute> _
Public Function GetById ( _
objectId As String _
) As Event
用法
Dim instance As EventCollection
Dim objectId As String
Dim returnValue As Event
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public Event GetById(
string objectId
)
参数
objectId
类型:System.String事件 GUID 的字符串表示形式。
返回值
类型:Microsoft.ProjectServer.Client.Event
一个Event对象。