GetDataDrivenSubscriptionProperties 方法
傳回資料導向訂閱的屬性。
命名空間: ReportService2010
組件: ReportService2010 (在 ReportService2010.dll 中)
語法
'宣告
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetDataDrivenSubscriptionProperties", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function GetDataDrivenSubscriptionProperties ( _
DataDrivenSubscriptionID As String, _
<OutAttribute> ByRef ExtensionSettings As ExtensionSettings, _
<OutAttribute> ByRef DataRetrievalPlan As DataRetrievalPlan, _
<OutAttribute> ByRef Description As String, _
<OutAttribute> ByRef Active As ActiveState, _
<OutAttribute> ByRef Status As String, _
<OutAttribute> ByRef EventType As String, _
<OutAttribute> ByRef MatchData As String, _
<OutAttribute> ByRef Parameters As ParameterValueOrFieldReference() _
) As String
'用途
Dim instance As ReportingService2010
Dim DataDrivenSubscriptionID As String
Dim ExtensionSettings As ExtensionSettings
Dim DataRetrievalPlan As DataRetrievalPlan
Dim Description As String
Dim Active As ActiveState
Dim Status As String
Dim EventType As String
Dim MatchData As String
Dim Parameters As ParameterValueOrFieldReference()
Dim returnValue As String
returnValue = instance.GetDataDrivenSubscriptionProperties(DataDrivenSubscriptionID, _
ExtensionSettings, DataRetrievalPlan, _
Description, Active, Status, EventType, _
MatchData, Parameters)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetDataDrivenSubscriptionProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public string GetDataDrivenSubscriptionProperties(
string DataDrivenSubscriptionID,
out ExtensionSettings ExtensionSettings,
out DataRetrievalPlan DataRetrievalPlan,
out string Description,
out ActiveState Active,
out string Status,
out string EventType,
out string MatchData,
out ParameterValueOrFieldReference[] Parameters
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetDataDrivenSubscriptionProperties", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
String^ GetDataDrivenSubscriptionProperties(
String^ DataDrivenSubscriptionID,
[OutAttribute] ExtensionSettings^% ExtensionSettings,
[OutAttribute] DataRetrievalPlan^% DataRetrievalPlan,
[OutAttribute] String^% Description,
[OutAttribute] ActiveState^% Active,
[OutAttribute] String^% Status,
[OutAttribute] String^% EventType,
[OutAttribute] String^% MatchData,
[OutAttribute] array<ParameterValueOrFieldReference^>^% Parameters
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetDataDrivenSubscriptionProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member GetDataDrivenSubscriptionProperties :
DataDrivenSubscriptionID:string *
ExtensionSettings:ExtensionSettings byref *
DataRetrievalPlan:DataRetrievalPlan byref *
Description:string byref *
Active:ActiveState byref *
Status:string byref *
EventType:string byref *
MatchData:string byref *
Parameters:ParameterValueOrFieldReference[] byref -> string
public function GetDataDrivenSubscriptionProperties(
DataDrivenSubscriptionID : String,
ExtensionSettings : ExtensionSettings,
DataRetrievalPlan : DataRetrievalPlan,
Description : String,
Active : ActiveState,
Status : String,
EventType : String,
MatchData : String,
Parameters : ParameterValueOrFieldReference[]
) : String
參數
- DataDrivenSubscriptionID
型別:System. . :: . .String
資料導向訂閱的識別碼,由 CreateDataDrivenSubscription 方法傳回。
- ExtensionSettings
型別:ReportService2010. . :: . .ExtensionSettings%
[out] ExtensionSettings 物件,其中包含傳遞延伸模組專用的設定清單。
- DataRetrievalPlan
型別:ReportService2010. . :: . .DataRetrievalPlan%
[out] DataRetrievalPlan 物件,其中包含要從訂閱的傳遞查詢擷取資料所需的設定清單。
- Description
型別:System. . :: . .String%
[out] 對使用者顯示的有意義描述。
- Active
型別:ReportService2010. . :: . .ActiveState%
[out] 包含訂閱之作用中狀態的 ActiveState 物件。
- Status
型別:System. . :: . .String%
[out] 訂閱的狀態。
- EventType
型別:System. . :: . .String%
[out] 觸發訂閱的事件類型。
- MatchData
型別:System. . :: . .String%
[out] 與指定之事件類型相關聯的資料。這個參數是由事件用來比對訂閱與已引發的事件。
- Parameters
型別:array<ReportService2010. . :: . .ParameterValueOrFieldReference> [] () [] []%
[out] ParameterValue 物件的陣列,其中包含報表的參數清單。
傳回值
型別:System. . :: . .String
String 值,其中包含資料導向訂閱之擁有者的使用者識別碼。
備註
The table below shows header and permissions information on this operation.
SOAP Header Usage |
(Out) ServerInfoHeaderValue |
Native Mode Required Permissions |
|
SharePoint Mode Required Permissions |
ManageAlerts()()()() |