共用方式為


PerspectiveCollection.IsValidName 方法 (String, String%)

Indicates whether the specified name is valid.

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

語法

'宣告
Public Overrides Function IsValidName ( _
    name As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
'用途
Dim instance As PerspectiveCollection 
Dim name As String 
Dim error As String 
Dim returnValue As Boolean 

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

參數

傳回值

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

請參閱

參考

PerspectiveCollection 類別

IsValidName 多載

Microsoft.AnalysisServices 命名空間