Share via


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.ReadOnlyAfterCreation)> _
Public Property Text As String
    Get
    Set
'Usage
Dim instance As XmlSchemaCollection
Dim value As String

value = instance.Text

instance.Text = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Text { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
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