XmlSchemaCollection.EnumTypes 方法 (String)
Enumerates a list of all the types contained within the XML schema collection for the specified namespace.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function EnumTypes ( _
xmlNamespace As String _
) As DataTable
'用途
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
參數
- xmlNamespace
型別:System.String
A String value that specifies the XML namespace to which to limit the results.
傳回值
型別: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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間