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.")> _
<WebPartStorageAttribute(Storage.Shared)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property MissingAssembly As String
Dim instance As WebPart
Dim value As String

value = instance.MissingAssembly

instance.MissingAssembly = value
[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.

See also


WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace