NamedComponentCollection.IsValidName 메서드 (String, Type, String%)

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Determines whether the named component collection name is valid.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Protected Function IsValidName ( _
    name As String, _
    type As Type, _
    <OutAttribute> ByRef error As String _
) As Boolean
‘사용 방법
Dim name As String 
Dim type As Type 
Dim error As String 
Dim returnValue As Boolean 

returnValue = Me.IsValidName(name, _
    type, error)
protected bool IsValidName(
    string name,
    Type type,
    out string error
)
protected:
bool IsValidName(
    String^ name, 
    Type^ type, 
    [OutAttribute] String^% error
)
member IsValidName : 
        name:string * 
        type:Type * 
        error:string byref -> bool
protected function IsValidName(
    name : String, 
    type : Type, 
    error : String
) : boolean

매개 변수

반환 값

유형: System.Boolean
true if the named component collection name is valid; otherwise, false.

참고 항목

참조

NamedComponentCollection 클래스

IsValidName 오버로드

Microsoft.AnalysisServices 네임스페이스