Partager via


DataType.Xml Method (String, String)

Returns an object that represents the specified type and with the specified schema.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Shared Function Xml ( _
    type As String, _
    schema As String _
) As DataType
public static DataType Xml (
    string type,
    string schema
)
public:
static DataType^ Xml (
    String^ type, 
    String^ schema
)
public static DataType Xml (
    String type, 
    String schema
)
public static function Xml (
    type : String, 
    schema : String
) : DataType

Paramètres

  • type
    A String value that specifies the type.
  • schema
    A String value that specifies the schema of the type.

Valeur de retour

A DataType object value.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

How to: Construct a DataType Object by Using the Default Constructor in Visual Basic .NET

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

DataType Class
DataType Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Working with Data Types