Gets a value that indicates whether the user code service is enabled for the site collection.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property UserCodeEnabled As Boolean
Get
用法
Dim instance As SPSite
Dim value As Boolean
value = instance.UserCodeEnabled
public bool UserCodeEnabled { get; }
属性值
类型:System.Boolean
true if the SPUserCodeService.IsEnabled property returns true and if the user resource quota for the site collection is greater than zero; otherwise, false.