SqlDeploymentOptions.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.Deployment
어셈블리: Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)
구문
‘선언
Public ReadOnly Property GenerateSmartDefaults As Boolean
Get
‘사용 방법
Dim instance As SqlDeploymentOptions
Dim value As Boolean
value = instance.GenerateSmartDefaults
public bool GenerateSmartDefaults { get; }
public:
property bool GenerateSmartDefaults {
bool get ();
}
member GenerateSmartDefaults : bool
function get GenerateSmartDefaults () : 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.