Export (0) Print
Expand All

MessageType.ValidationXmlSchemaCollection Property

Gets or sets the XML schema collection used for validation.

This API is not CLS-compliant. The CLS-compliant alternative is .

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

[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[SfcReferenceAttribute(typeof(XmlSchemaCollection), "Server[@Name = '{0}']/Database[@Name = '{1}']/XmlSchemaCollection[@Name='{2}' and @Schema='{3}']", 
	)]
public string ValidationXmlSchemaCollection { get; set; }

Property Value

Type: String
A String value that specifies the name of the XML schema collection used for validation of the message body.

This property sets the name of a XmlSchemaCollection object that is used to validate the contents of the referenced message type.

The MessageTypeValidation property must be set to XmlSchemaCollection before the ValidationXmlSchemaCollection property can be set.

Community Additions

ADD
Show:
© 2014 Microsoft