다음을 통해 공유


SelectChildrenByAttribute 메서드

Selects the children elements by attribute. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

네임스페이스:  Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리:  Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)

구문

‘선언
Public Shared Function SelectChildrenByAttribute ( _
    reader As XmlTextReader, _
    strAttribute As String, _
    strValue As String _
) As Boolean
‘사용 방법
Dim reader As XmlTextReader
Dim strAttribute As String
Dim strValue As String
Dim returnValue As Boolean

returnValue = XmlUtility.SelectChildrenByAttribute(reader, _
    strAttribute, strValue)
public static bool SelectChildrenByAttribute(
    XmlTextReader reader,
    string strAttribute,
    string strValue
)
public:
static bool SelectChildrenByAttribute(
    XmlTextReader^ reader, 
    String^ strAttribute, 
    String^ strValue
)
static member SelectChildrenByAttribute : 
        reader:XmlTextReader * 
        strAttribute:string * 
        strValue:string -> bool 
public static function SelectChildrenByAttribute(
    reader : XmlTextReader, 
    strAttribute : String, 
    strValue : String
) : boolean

매개 변수

반환 값

유형: System. . :: . .Boolean
true if the children elements are selected by their attributes; otherwise, false.