Partager via


IUpdateServer.IsValidComputerTargetGroupName Method (String)

 

Applies To: Windows Server Update Services

Determines whether the specified name is a valid computer group name.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

bool IsValidComputerTargetGroupName(
    string name
)
bool IsValidComputerTargetGroupName(
    String^ name
)
abstract IsValidComputerTargetGroupName : 
        name:string -> bool
Function IsValidComputerTargetGroupName (
    name As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

True, if the string is a well-formed target group name string, false otherwise.

Exceptions

Exception

Condition

ArgumentNullException

name is null.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top