XmlSchemaCollection.Text Property

Gets or sets the text that defines all of the schemas in the XML schema collection.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property Text As String 
    Get 
    Set
'Usage
Dim instance As XmlSchemaCollection 
Dim value As String 

value = instance.Text

instance.Text = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string Text { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member Text : string with get, set
function get Text () : String 
function set Text (value : String)

Property Value

Type: System.String
A String value that specifies the text that defines all of the schemas in the XML schema collection

Examples

Using XML Schemas

See Also

Reference

XmlSchemaCollection Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using XML Schemas

XML Schema Collections (SQL Server)

CREATE SCHEMA (Transact-SQL)