IDatabaseProjectPropertiesContainer.SetProperties Method
Sets the properties in a batch mode.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function SetProperties ( _
forceSynchronizeProjectSystem As Boolean, _
ParamArray items As CatalogOrServerPropertyItem() _
) As Boolean
bool SetProperties(
bool forceSynchronizeProjectSystem,
params CatalogOrServerPropertyItem[] items
)
bool SetProperties(
bool forceSynchronizeProjectSystem,
... array<CatalogOrServerPropertyItem^>^ items
)
abstract SetProperties :
forceSynchronizeProjectSystem:bool *
items:CatalogOrServerPropertyItem[] -> bool
function SetProperties(
forceSynchronizeProjectSystem : boolean,
... items : CatalogOrServerPropertyItem[]
) : boolean
Parameters
- forceSynchronizeProjectSystem
Type: System.Boolean
Forces the project system to synchronize the model to the catalog and server property changes.
- items
Type: array<Microsoft.Data.Schema.Build.CatalogOrServerPropertyItem[]
Changes that will be made.
Return Value
Type: System.Boolean
true if the properties were set successfully.
Remarks
This will change all properties (or delete them, if the value is null) and raise one event for the set of changes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseProjectPropertiesContainer Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace