MessageType.ValidationXmlSchemaCollection Özelliği
Alır veya ayarlar xml şema koleksiyon doğrulaması için kullanılır.
Bu API, CLS ile uyumlu değildir. CLS ile uyumlu olan alternatifi şudur: .
Ad Alanı: Microsoft.SqlServer.Management.Smo.Broker
Derleme: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)
Sözdizimi
'Bildirim
<SfcReferenceAttribute(GetType(XmlSchemaCollection), "Server[@Name = '{0}']/Database[@Name = '{1}']/XmlSchemaCollection[@Name='{2}' and @Schema='{3}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property ValidationXmlSchemaCollection As String
Get
Set
'Kullanım
Dim instance As MessageType
Dim value As String
value = instance.ValidationXmlSchemaCollection
instance.ValidationXmlSchemaCollection = value
[SfcReferenceAttribute(typeof(XmlSchemaCollection), "Server[@Name = '{0}']/Database[@Name = '{1}']/XmlSchemaCollection[@Name='{2}' and @Schema='{3}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
public string ValidationXmlSchemaCollection { get; set; }
[SfcReferenceAttribute(typeof(XmlSchemaCollection), L"Server[@Name = '{0}']/Database[@Name = '{1}']/XmlSchemaCollection[@Name='{2}' and @Schema='{3}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
public:
property String^ ValidationXmlSchemaCollection {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(XmlSchemaCollection), "Server[@Name = '{0}']/Database[@Name = '{1}']/XmlSchemaCollection[@Name='{2}' and @Schema='{3}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
member ValidationXmlSchemaCollection : string with get, set
function get ValidationXmlSchemaCollection () : String
function set ValidationXmlSchemaCollection (value : String)
Özellik Değeri
Tür: System.String
A String xml şema adını belirten değeri koleksiyon ileti gövdesi doğrulama için kullanılan
Açıklamalar
Bu özellik adını ayarlar bir XmlSchemaCollection içeriğini doğrulamak için kullanılan nesnebaşvurulan ileti türü.
MessageTypeValidation Özelliğini ayarlayın, XmlSchemaCollection önce ValidationXmlSchemaCollection özellik olabilir küme.