MissingAssembly property

WebPart.MissingAssembly property

NOTE: This API is now obsolete.

Gets or sets the message shown to the user when importing a Web Part if the assembly for the Web Part is not installed on the target server.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Use ImportErrorMessage instead.")]
public string MissingAssembly { get; set; }

Property value

Type: System.String
This is the message that is shown to users when a Web Part's assembly is missing. If this property is not specified, a system default message is displayed.
© 2015 Microsoft