Share via


XmlConsoleDataSource.ConfigurationProvider Property

A String that represents the configuration XML file used to populate the XmlConsoleDataSource object

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property ConfigurationProvider As String
    Get
    Set
'Usage
Dim instance As XmlConsoleDataSource
Dim value As String

value = instance.ConfigurationProvider

instance.ConfigurationProvider = value
public string ConfigurationProvider { get; set; }

Property Value

Type: System.String
A string that represents the name of the XML configuration file.

Remarks

All custom XML files should be found on the server at: https://servername/_catalogs/masterpage/Editing%20Menu. The XML file name to reference is the file name without the ".xml" extension. For example, to populate an XmlConsoleDataSource object with a file named "CustomActions.xml" set the ConfigurationProvider property to "CustomActions", and the CustomActions.xml file is placed in the folder specified above.

See Also

Reference

XmlConsoleDataSource Class

XmlConsoleDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace

XmlConsoleDataSource