Share via


NameChecker.ValidateObjectName Method

Validates the specified name of the object.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Shared Function ValidateObjectName ( _
    name As String _
) As NameCheckResult
'Usage
Dim name As String 
Dim returnValue As NameCheckResult 

returnValue = NameChecker.ValidateObjectName(name)
public static NameCheckResult ValidateObjectName(
    string name
)
public:
static NameCheckResult ValidateObjectName(
    String^ name
)
static member ValidateObjectName : 
        name:string -> NameCheckResult
public static function ValidateObjectName(
    name : String
) : NameCheckResult

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.NameCheckResult
The name of the object.

See Also

Reference

NameChecker Class

Microsoft.SqlServer.Dts.Runtime Namespace