共用方式為


WebSharingManager.CanMemberShare 方法

命名空間:  Microsoft.SharePoint.Client.Sharing
組件:   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 Shared Function CanMemberShare ( _
    context As ClientRuntimeContext, _
    web As Web _
) As ClientResult(Of Boolean)
'用途
Dim context As ClientRuntimeContext
Dim web As Web
Dim returnValue As ClientResult(Of Boolean)

returnValue = WebSharingManager.CanMemberShare(context, _
    web)
public static ClientResult<bool> CanMemberShare(
    ClientRuntimeContext context,
    Web web
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<Boolean>

請參閱

參照

WebSharingManager 類別

WebSharingManager 成員

Microsoft.SharePoint.Client.Sharing 命名空間