AppManUtilities.GetUniqueName Method (String, IEnumerable, Int32)
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Namespace: Microsoft.ConfigurationManagement.AdminConsole.AppManFoundation
Assembly: AdminUI.AppManFoundation (in AdminUI.AppManFoundation.dll)
Usage
'Usage
Dim name As String
Dim existingNames As IEnumerable(Of String)
Dim maxLength As Integer
Dim returnValue As String
returnValue = AppManUtilities.GetUniqueName(name, existingNames, maxLength)
Syntax
'Declaration
Public Shared Function GetUniqueName ( _
name As String, _
existingNames As IEnumerable(Of String), _
maxLength As Integer _
) As String
public static string GetUniqueName (
string name,
IEnumerable<string> existingNames,
int maxLength
)
public:
static String^ GetUniqueName (
String^ name,
IEnumerable<String^>^ existingNames,
int maxLength
)
public static String GetUniqueName (
String name,
IEnumerable<String> existingNames,
int maxLength
)
public static function GetUniqueName (
name : String,
existingNames : IEnumerable<String>,
maxLength : int
) : String
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
AppManUtilities Class
AppManUtilities Members
Microsoft.ConfigurationManagement.AdminConsole.AppManFoundation Namespace