Verifies that the specified name is a valid name for an AttributeRelationship and returns the error message if it the name is not valid.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
语法
声明
Public Function IsValidName ( _
name As String, _
<OutAttribute> ByRef error As String _
) As Boolean
public bool IsValidName (
string name,
out string error
)
public:
bool IsValidName (
String^ name,
[OutAttribute] String^% error
)
public boolean IsValidName (
String name,
/** @attribute OutAttribute() */ /** @ref */ String error
)
JScript 不支持由引用传递值类型参数。
参数
- name
Specifies the name to be validated.
- error
A System.String that holds the error message in case name is invalid.
返回值
Returns true if name is valid; otherwise, false.
线程安全
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
AttributeRelationshipCollection Class
AttributeRelationshipCollection Members
Microsoft.AnalysisServices Namespace