共用方式為


DacType.ValidateName Method

Verifies that the application name of the DAC type is not null and does not exceed the maximum length.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'宣告
Public Shared Sub ValidateName ( _
    name As String _
)
'用途
Dim name As String

DacType.ValidateName(name)
public static void ValidateName(
    string name
)
public:
static void ValidateName(
    String^ name
)
static member ValidateName : 
        name:string -> unit 
public static function ValidateName(
    name : String
)

Parameters

  • name
    Type: String
    A String value specifying the name of the DAC type.

See Also

Reference

DacType Class

Microsoft.SqlServer.Management.Dac Namespace