Dela via


SoapPayload.XmlFormatOption Property

Gets or sets the XML format options.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property XmlFormatOption As XmlFormatOption
    Get
    Set
'Usage
Dim instance As SoapPayload
Dim value As XmlFormatOption

value = instance.XmlFormatOption

instance.XmlFormatOption = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public XmlFormatOption XmlFormatOption { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property XmlFormatOption XmlFormatOption {
    XmlFormatOption get ();
    void set (XmlFormatOption value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member XmlFormatOption : XmlFormatOption with get, set
function get XmlFormatOption () : XmlFormatOption
function set XmlFormatOption (value : XmlFormatOption)

Property Value

Type: Microsoft.SqlServer.Management.Smo.XmlFormatOption
An XmlFormatOption object value that specifies the XML format for the referenced HTTP endpoint.

Remarks

The XmlFormatOption property specifies whether results are restricted to valid XML characters or are encoded in the result (the latter might cause XML parsing errors).