SPElementDefinition.GetRootAttrAsPermissions method
會傳回指定之的根屬性值為SharePoint Foundation權限。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Function GetRootAttrAsPermissions ( _
attrName As String _
) As SPBasePermissions
'用途
Dim attrName As String
Dim returnValue As SPBasePermissions
returnValue = Me.GetRootAttrAsPermissions(attrName)
protected SPBasePermissions GetRootAttrAsPermissions(
string attrName
)
參數
attrName
Type: System.String字串,指定屬性的名稱。
傳回值
Type: Microsoft.SharePoint.SPBasePermissions
SPBasePermissions 值,指出權限。