Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Returns a MiningContentNode from the Content collection, using the UniqueName property of the MiningContentNode.
Espace de noms: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Syntaxe
'Déclaration
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
Paramètres
- uniqueName
The unique name of the MiningContentNode to be retrieved.
Valeur de retour
The requested MiningContentNode if found; otherwise, null.
Exemple
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;
}
Sécurité des threads
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.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
MiningModel Class
MiningModel Members
Microsoft.AnalysisServices.AdomdServer Namespace