次の方法で共有


File.Deny メソッド

Denies approval for a file that was submitted for content approval.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Sub Deny ( _
    comment As String _
)
'使用
Dim instance As File
Dim comment As String

instance.Deny(comment)
public void Deny(
    string comment
)

パラメーター

例外

例外 条件
SPException

The item associated with the SPFile or the SPModerationInformation for the item is null.

-or-

An error occurred when updating the item.

注釈

Only documents in a list for which content approval has been enabled can be rejected.

関連項目

参照先

File クラス

File メンバー

Microsoft.SharePoint.Client 名前空間