"创建FileStream 对象以打开一个文件时,为了将该FileStream 限定为只读,应在构造 FileStream 对象时将()参数设置为Read"AFileModeBFileAccessCFileShareDSeekOrigin
"创建FileStream 对象以打开一个文件时,为了将该FileStream 限定为只读,应在构造 FileStream 对象时将()参数设置为Read"
AFileMode
BFileAccess
CFileShare
DSeekOrigin
参考解析
略
相关考题:
如何向数据集DataSet填充数据?()A、创建DataSet对象之后以OleDbDataAdapter实例作为参数,调用Load方法B、调用其构造函数创建DataSet时使用OleDbDataAdapter为参数C、调用OleDbDataAdapter的Fill方法,使用DataSet作为方法的参数D、创建DataSet对象,然后对于DataSet中每一个想生成的表,创建一个DataTable对象
在使用FileStream 打开一个文件时,通过使用FileMode 枚举类型的()成员,来指定操作系统打开一个现有文件并把文件读写指针定位在文件尾部。A. AppendB. CreateC. CreateNewD. Truncate
当检索一个压缩文件时,首先要建立压缩文件输入流对象,该对象( )。A.以选中的压缩文件为参数SX 当检索一个压缩文件时,首先要建立压缩文件输入流对象,该对象( )。A.以选中的压缩文件为参数B.以FileInputStream对象为参数C.以InputStreamReader对象为参数D.以BufferedReader对象为参数
在使用FileStream打开一个文件时,通过使用FileMode枚举类型的()成员,来指定操作系统打开一个现有文件并把文件读写指针定位在文件尾部。A、AppendB、CreateC、CreateNewD、Truncate
在创建FileStream类对象,使用FileStream类构造函数进行初始化,创建新文件时,如果文件已存在,则覆盖旧文件需使用枚举类型FileMode的成员是()。A、FileMode.AppendB、FileMode.CreateC、FileMode.Create.NewD、FileMode.Open
You are developing an application to create a new file on the local file system.You need to define specific security settings for the file. You must deny the file inheritance of any default security settings during creation.What should you do?()A、Create the file by using a new FileStream object by passing the FileSecurity object as a parameter to the FileStream constructor.B、Create a new FileSecurity object.C、Apply the permissions by using the File class.D、Create a new FileSystem Access Rule object for each permission that you need,and add each rule to the FileSecurity object.E、Create a new FileSystem Audit Rule object and add it to the FileSecurity object.
单选题You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. You intend to configure FILESTREAM data, enabling FILESTREAM for file I/O streaming access and allowing remote client computers to have streaming access to FILESTREAM data. You must make sure that FILESTREAM data is enabled. In the options below, which service should you configure? ()AYou should configure Distributed File SystemBYou should configure SQL ServerCYou should configure SQL Server Full TextDYou should configure SQL Server VSS Writer
单选题在创建FileStream类对象,使用FileStream类构造函数进行初始化,创建新文件时,如果文件已存在,则覆盖旧文件需使用枚举类型FileMode的成员是()。AFileMode.AppendBFileMode.CreateCFileMode.Create.NewDFileMode.Open
多选题关于类的构造函数,以下描述中正确的是()A当创建一个对象时,该对象的构造函数会被自动调用;B当创建一个对象时,需要指明是否调用该对象的构造函数;C同一个类可以有几个构造函数,各构造函数的参数必须不同;D同一个类可以有几个构造函数,各构造函数的参数必须相同;E构造函数的名称与类的名称相同;
多选题You are developing an application to create a new file on the local file system.You need to define specific security settings for the file. You must deny the file inheritance of any default security settings during creation.What should you do?()ACreate the file by using a new FileStream object by passing the FileSecurity object as a parameter to the FileStream constructor.BCreate a new FileSecurity object.CApply the permissions by using the File class.DCreate a new FileSystem Access Rule object for each permission that you need,and add each rule to the FileSecurity object.ECreate a new FileSystem Audit Rule object and add it to the FileSecurity object.
单选题"创建FileStream 对象以打开一个文件时,为了将该FileStream 限定为只读,应在构造 FileStream 对象时将()参数设置为Read"AFileModeBFileAccessCFileShareDSeekOrigin
单选题You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. Now your company CIO assigns a task to you. The company CIO wants you to configure FILESTREAM data and the two requirements below must be met: you must enable FILESTREAM for file I/O streaming access; remote client computers must be able to have streaming access to FILESTREAM data. You must make sure that FILESTREAM data is enabled. Which service should you configure? ()AYou should configure SQL Server VSS Writer BYou should configure Distributed File System CYou should configure SQL Server DYou should configure SQL Server Full Text
判断题创建对象时系统将调用适当的构造方法给对象初始化。A对B错