14 references to AttachDBFilename
System.Data (14)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
2052
throw SQL.ChangePasswordUseOfUnallowedKey(SqlConnectionString.KEY.
AttachDBFilename
);
2108
throw SQL.ChangePasswordUseOfUnallowedKey(SqlConnectionString.KEY.
AttachDBFilename
);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (12)
279
_attachDBFileName = ConvertValueToString(KEY.
AttachDBFilename
, DEFAULT.AttachDBFilename);
389
_expandedAttachDBFilename = ExpandDataDirectory(KEY.
AttachDBFilename
, _attachDBFileName, ref datadir);
392
throw ADP.InvalidConnectionOptionValue(KEY.
AttachDBFilename
);
394
ValidateValueLength(_expandedAttachDBFilename, TdsEnums.MAXLEN_ATTACHDBFILE, KEY.
AttachDBFilename
);
406
throw ADP.InvalidConnectionOptionValue(KEY.
AttachDBFilename
);
409
ValidateValueLength(_attachDBFileName, TdsEnums.MAXLEN_ATTACHDBFILE, KEY.
AttachDBFilename
);
604
return ExpandKeyword(KEY.
AttachDBFilename
, _expandedAttachDBFilename);
640
hash.Add(KEY.
AttachDBFilename
, KEY.
AttachDBFilename
);
678
hash.Add(SYNONYM.EXTENDED_PROPERTIES, KEY.
AttachDBFilename
);
679
hash.Add(SYNONYM.INITIAL_FILE_NAME, KEY.
AttachDBFilename
);
775
throw ADP.InvalidConnectionOptionValue(KEY.
AttachDBFilename
);