ImportModelReceiver.FeatureActivated 方法
激活该功能。导入的模型文件,资源模型文件和程序集。
命名空间: Microsoft.SharePoint.Deployment
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Overrides Sub FeatureActivated ( _
properties As SPFeatureReceiverProperties _
)
用法
Dim instance As ImportModelReceiver
Dim properties As SPFeatureReceiverProperties
instance.FeatureActivated(properties)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public override void FeatureActivated(
SPFeatureReceiverProperties properties
)
参数
properties
类型:Microsoft.SharePoint.SPFeatureReceiverProperties功能属性。