XmlSchemaCollection.Text 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property Text As String 
    Get 
    Set
用法
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)

属性值

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

示例

使用 XML 架构

请参阅

参考

XmlSchemaCollection 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

使用 XML 架构

XML 架构集合 (SQL Server)

CREATE SCHEMA (Transact-SQL)