Condividi tramite


Metodo EnumTypes (String)

Enumerates a list of all the types contained within the XML schema collection for the specified namespace.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function EnumTypes ( _
    xmlNamespace As String _
) As DataTable
'Utilizzo
Dim instance As XmlSchemaCollection
Dim xmlNamespace As String
Dim returnValue As DataTable

returnValue = instance.EnumTypes(xmlNamespace)
public DataTable EnumTypes(
    string xmlNamespace
)
public:
DataTable^ EnumTypes(
    String^ xmlNamespace
)
member EnumTypes : 
        xmlNamespace:string -> DataTable 
public function EnumTypes(
    xmlNamespace : String
) : DataTable

Parametri

Valore restituito

Tipo: System.Data. . :: . .DataTable
A DataTable system object value that contains a list of all the types in the XML schema collection for the specified namespace.