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
'Declaration
Public Shared Sub ValidateName ( _
name As String _
)
'Usage
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: System.String
A String value specifying the name of the DAC type.