共用方式為


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
)

參數

傳回值

Type: Microsoft.SharePoint.SPBasePermissions
SPBasePermissions 值,指出權限。

請參閱

參照

SPElementDefinition class

SPElementDefinition members

Microsoft.SharePoint.Administration namespace