ExpressionNode.ReadSimpleNodeWithCheck 方法
Reads the specified elements, evaluated with the given expression node type, and read with the specified XML reader.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Protected Shared Function ReadSimpleNodeWithCheck ( _
xr As XmlReader, _
type As ExpressionNodeType, _
ParamArray elements As String() _
) As List(Of String)
'用途
Dim xr As XmlReader
Dim type As ExpressionNodeType
Dim elements As String()
Dim returnValue As List(Of String)
returnValue = ExpressionNode.ReadSimpleNodeWithCheck(xr, _
type, elements)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
protected static List<string> ReadSimpleNodeWithCheck(
XmlReader xr,
ExpressionNodeType type,
params string[] elements
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
protected:
static List<String^>^ ReadSimpleNodeWithCheck(
XmlReader^ xr,
ExpressionNodeType type,
... array<String^>^ elements
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member ReadSimpleNodeWithCheck :
xr:XmlReader *
type:ExpressionNodeType *
elements:string[] -> List<string>
protected static function ReadSimpleNodeWithCheck(
xr : XmlReader,
type : ExpressionNodeType,
... elements : String[]
) : List<String>
參數
- xr
型別:System.Xml.XmlReader
An XmlReader object value that specifies the XML reader used to read the specified elements.
- type
型別:Microsoft.SqlServer.Management.Dmf.ExpressionNodeType
A ExpressionNodeType that specifies the node type.
- elements
型別:array<System.String[]
An array of String values that specifies the elements to read.
傳回值
型別:System.Collections.Generic.List<String>
A List of strings that contains the read values.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。