SPSecurity.CreateAppPrincipalSuppressionScope method
建立應用程式原則會隱藏,並不套用應用程式的主體權限的範圍。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function CreateAppPrincipalSuppressionScope As IDisposable
'用途
Dim returnValue As IDisposable
returnValue = SPSecurity.CreateAppPrincipalSuppressionScope()
public static IDisposable CreateAppPrincipalSuppressionScope()
傳回值
Type: System.IDisposable
若要在using陳述式中使用可處置的物件。