Returns a MiningContentNode from the Content collection, using the UniqueName property of the MiningContentNode.
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv (in msmgdsrv.dll)
语法
声明
Public Function GetNodeFromUniqueName ( _
    uniqueName As String _
) As MiningContentNode
public MiningContentNode GetNodeFromUniqueName (
    string uniqueName
)
public:
MiningContentNode^ GetNodeFromUniqueName (
    String^ uniqueName
)
public MiningContentNode GetNodeFromUniqueName (
    String uniqueName
)
public function GetNodeFromUniqueName (
    uniqueName : String
) : MiningContentNode
参数
- uniqueName
 The unique name of the MiningContentNode to be retrieved.
返回值
The requested MiningContentNode if found; otherwise, null.
示例
The following example creates a user defined function (UDF) that returns the node description for a specified node. The UDF uses the current context in which the UDF is being run to retrieve the node from the current mining model, as determined by the Data Mining Extensions (DMX) FROM clause in the statement calling this UDF.
public string GetNodeDescription(string nodeUniqueName)
{
    return Context.CurrentMiningModel.GetNodeFromUniqueName(nodeUniqueName).Description;
}
线程安全
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 的硬件和软件要求。
请参阅
参考
MiningModel Class
MiningModel Members
Microsoft.AnalysisServices.AdomdServer Namespace