DacDeployOptions.GenerateSmartDefaults 속성
Get or set boolean that specifies whether default values should be generated to populate NULL columns that are constrained to NOT NULL values.
네임스페이스: Microsoft.SqlServer.Dac
어셈블리: Microsoft.SqlServer.Dac(Microsoft.SqlServer.Dac.dll)
구문
‘선언
Public Property GenerateSmartDefaults As Boolean
Get
Set
‘사용 방법
Dim instance As DacDeployOptions
Dim value As Boolean
value = instance.GenerateSmartDefaults
instance.GenerateSmartDefaults = value
public bool GenerateSmartDefaults { get; set; }
public:
property bool GenerateSmartDefaults {
bool get ();
void set (bool value);
}
member GenerateSmartDefaults : bool with get, set
function get GenerateSmartDefaults () : boolean
function set GenerateSmartDefaults (value : boolean)
속성 값
유형: System.Boolean
True if default values should be generated; otherwise false. Default is false.
주의
This is useful when needing to add a new NOT NULL column to an existing table with data.