NamedComponentCollection.IsValidName 方法 (String)

Determines whether the named component collection name is valid.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function IsValidName ( _
    name As String _
) As Boolean
'用途
Dim instance As NamedComponentCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.IsValidName(name)
public bool IsValidName(
    string name
)
public:
bool IsValidName(
    String^ name
)
member IsValidName : 
        name:string -> bool
public function IsValidName(
    name : String
) : boolean

參數

傳回值

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

請參閱

參考

NamedComponentCollection 類別

IsValidName 多載

Microsoft.AnalysisServices 命名空間