共用方式為


ReportingService2006.RemoveAllModelItemPolicies 方法

Deletes all policies associate with model items in the specified model.

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Sub RemoveAllModelItemPolicies ( _
    Model As String _
)
'用途
Dim instance As ReportingService2006 
Dim Model As String

instance.RemoveAllModelItemPolicies(Model)
public void RemoveAllModelItemPolicies(
    string Model
)
public:
void RemoveAllModelItemPolicies(
    String^ Model
)
member RemoveAllModelItemPolicies : 
        Model:string -> unit
public function RemoveAllModelItemPolicies(
    Model : String
)

參數

  • Model
    型別:System.String
    The fully qualified URL of the model including the file name and .smdl file name extension.

備註

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ManagePermissions

After RemoveAllModelItemPolicies is successfully performed, all model items in the model will be visible to any user who can access the model.

請參閱

參考

ReportingService2006 類別

ReportService2006 命名空間