IsValidName 方法 (String)
Verifies that the specified name is a valid name for an AttributeRelationship.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function IsValidName ( _
name As String _
) As Boolean
'用途
Dim instance As AttributeRelationshipCollection
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
參數
- name
型別:System. . :: . .String
Specifies the name to be validated.
傳回值
型別:System. . :: . .Boolean
Returns true if name is valid; otherwise, false.