NamedComponentCollection.IsValidName メソッド (String, String%)

名前付きコンポーネントのコレクション名が有効かどうかを示します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Overridable Function IsValidName ( _
    name As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
'使用
Dim instance As NamedComponentCollection 
Dim name As String 
Dim error As String 
Dim returnValue As Boolean 

returnValue = instance.IsValidName(name, _
    error)
public virtual bool IsValidName(
    string name,
    out string error
)
public:
virtual bool IsValidName(
    String^ name, 
    [OutAttribute] String^% error
)
abstract IsValidName : 
        name:string * 
        error:string byref -> bool  
override IsValidName : 
        name:string * 
        error:string byref -> bool
public function IsValidName(
    name : String, 
    error : String
) : boolean

パラメーター

戻り値

型: System.Boolean
名前付きコンポーネントのコレクション名が有効である場合は true、それ以外の場合は false です。

関連項目

参照

NamedComponentCollection クラス

IsValidName オーバーロード

Microsoft.AnalysisServices 名前空間