DataProviderScriptWebPart.DesiredSnippetLength property
Specifies the desired snippet length.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property DesiredSnippetLength As Integer
Get
Set
'Usage
Dim instance As DataProviderScriptWebPart
Dim value As Integer
value = instance.DesiredSnippetLength
instance.DesiredSnippetLength = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public int DesiredSnippetLength { get; set; }
Property value
Type: System.Int32
Remarks
The default value is 90 characters.
See also
Reference
DataProviderScriptWebPart class