DataType.Xml Method (String, String, XmlDocumentConstraint)
Returns an object that represents the specified type, schema and XML document constraint.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
Public Shared Function Xml ( _
type As String, _
schema As String, _
xmlDocumentConstraint As XmlDocumentConstraint _
) As DataType
public static DataType Xml (
string type,
string schema,
XmlDocumentConstraint xmlDocumentConstraint
)
public:
static DataType^ Xml (
String^ type,
String^ schema,
XmlDocumentConstraint xmlDocumentConstraint
)
public static DataType Xml (
String type,
String schema,
XmlDocumentConstraint xmlDocumentConstraint
)
public static function Xml (
type : String,
schema : String,
xmlDocumentConstraint : XmlDocumentConstraint
) : DataType
Parameters
- type
A String value that specifies the type.
- schema
A String value that specifies the schema of the type.
- xmlDocumentConstraint
A XmlDocumentConstraint value that determines the XML document constraint.
Return Value
A DataType object value.
Remarks
The XmlDocumentConstraint object supports the following values:
Default - Unstructured data
Content - XML fragment
Document - A well formed XML instance
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.