Events.ReadEventHandlerAssociation 方法
會取得指定的 Project Server 事件處理常式的資訊。
命名空間: WebSvcEvents
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventHandlerAssociation", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Events/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Events/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadEventHandlerAssociation ( _
eventHandlerUid As Guid _
) As EventHandlersDataSet
'用途
Dim instance As Events
Dim eventHandlerUid As Guid
Dim returnValue As EventHandlersDataSet
returnValue = instance.ReadEventHandlerAssociation(eventHandlerUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventHandlerAssociation", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Events/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Events/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public EventHandlersDataSet ReadEventHandlerAssociation(
Guid eventHandlerUid
)
參數
eventHandlerUid
類型:System.Guid事件處理常式的 GUID。
傳回值
類型:WebSvcEvents.EventHandlersDataSet
EventHandlersDataSet包含指定之的事件處理常式關聯,包括事件處理常式組件名稱、 類別名稱、 描述、 相關的事件,以及順序的最上層的事件處理常式會呼叫 (序號) 的相關資訊。
備註
Project Server 權限
權限 |
說明 |
---|---|
可讓使用者管理的伺服器端事件的事件處理常式。通用權限。 |